home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1997 January / macformat46.iso / File Maker Pro 3.0 Tutorial / File Maker Pro 3.0 / Templates / FileMaker And Apple Events / Apple Events Reference (.txt) next >
FileMaker Pro Database  |  1996-06-13  |  728KB  |  11,584 lines

  1. i9bm<
  2. HBAM2016AUG95
  3. Pro 3.0
  4. ae= od9
  5. vt9)oc
  6. =@mi=`do9Jsc9ksc
  7. }d[xK
  8. data@
  9. item@
  10. provided@
  11. HBAM3016AUG95@
  12. 0-201-40735-3}
  13. 0-679-75806-2}
  14. 32896o
  15. 50000l
  16. 7-savvyh
  17. filemaker
  18. database
  19. technically
  20. table
  21. howeq
  22. elementsk
  23. propertiesk
  24. aboutp
  25. absolutek
  26. acceptsE
  27. accessE
  28. accessed{
  29. accessingl
  30. accomplished|
  31. accountE
  32. achievet
  33. acrossj
  34. actionsh
  35. activatey
  36. actuall
  37. additionk
  38. additionallyo
  39. addressx
  40. advantage|
  41. aevti
  42. aftero
  43. againt
  44. agreeh
  45. aliasu
  46. allowt
  47. allows|
  48. alongy
  49. alreadyy
  50. alsoh
  51. alteringE
  52. althougho
  53. alwayso
  54. apple
  55. event
  56. consists
  57. several
  58. componentsi
  59. analysisv
  60. DESCRIPTION
  61. ECLASS
  62. ECLASSID
  63. EDESC
  64. '    EEXAMPLES
  65. EIDID
  66. ENAME
  67. ENOTES
  68. EPARAMDESC
  69. EPARAMID
  70. +    EPARAMREQ
  71. EPARAMS
  72. EPARAMTYPE
  73. EPARAMUT
  74. ERESULT
  75. ERESULTDESC
  76. %    ERESULTID
  77. ERESULTREQ
  78. ERESULTTYPE
  79. #    ERESULTUT
  80. FIND CONCAT
  81. GO TO LAYOUT
  82. HELPTEXT
  83. /    HELPTITLE
  84. INTRORECORDTITLE
  85.     INTROTEXT
  86. OCLASS
  87. OCLASSDEFAULTTYPE
  88. OCLASSDESC
  89. OCLASSELEM
  90. OCLASSELEMDESC
  91. OCLASSELEMMOD
  92. OCLASSEVENTS
  93. OCLASSID
  94. OCLASSKEYFORMS
  95. OCLASSPROP
  96. OCLASSPROPDESC
  97. OCLASSPROPID
  98. OCLASSPROPMOD
  99. OCLASSPROPTYPE
  100. OCLASSPROPUT
  101. OCLASSUT
  102. ONOTES
  103. ORIGINAL LAYOUT
  104. PICTTEXT
  105. RECORD TYPE
  106. RECORDNUMBER
  107. THING
  108. WHAT'S NEW
  109. UK English - Spelling
  110. User Dictionary
  111. 6/13/965
  112. 1st Quarter
  113. 2nd Quarter
  114. 3rd Quarter
  115. 4th Quarter
  116. 12/20/95
  117. ,@-A    Main Menu
  118. Introduction to Apple events
  119. Object Map
  120. Object Hierarchy
  121. Event Data
  122. Object Data
  123. Objects and Events List
  124. Table of Contents
  125. Descriptions and Examples
  126. Events & Objects Matrix
  127. What's New
  128. A    Main MenuB
  129. A    IntroTextB
  130. IntroRecordTitleB
  131. RecordNumberB
  132. OClassB
  133. OClassIDB
  134. OClassUTB
  135. OClassDescB
  136. OClassDefaultTypeB
  137. OClassPropB
  138. OClassPropIDB
  139. OClassPropUTB
  140. OClassPropDescB
  141. OClassPropTypeB
  142. OClassPropModB
  143. OClassElemB
  144. OClassElemDescB
  145. OClassElemModB
  146. OClassKeyFormsB
  147. OClassEventsB
  148. ONotesB
  149. EClassB
  150. EClassIDB
  151. ENameB
  152. EIDIDB
  153. EParamsB
  154. EParamTypeB
  155.  A    EParamReqB
  156. EParamDescB
  157. EResultB
  158. EResultTypeB
  159. EResultReqB
  160. EResultDescB
  161. ENotesB
  162. EDescB
  163. EParamUTB
  164. *A    EResultUTB
  165. EParamIDB
  166. ,A    EResultIDB
  167. -A    EExamplesB
  168. .A    HelpTitleB
  169. HelpTextB
  170. pictTextB
  171. DescriptionB
  172. ThingB
  173. Find ConcatB
  174. Record TypeB
  175. Go to LayoutB
  176. 5 = "Event"
  177.  "") & 
  178. 5 = "Object"
  179.  "") &
  180. 5 = "Help"
  181.  "") & 
  182. 5 = "Intro"
  183.  "") &
  184. Event
  185. Object
  186. Intro
  187. What's NewB
  188. Original LayoutB
  189. wwwwww
  190. UUUUUU
  191. DDDDDD
  192. """"""
  193. ls within portals can be edited and related records created and deleted using standard Apple events such as Set Data, Create, and Delete. See Int
  194. ~ffff
  195. ffffff
  196. ffff33
  197. ff33ff
  198. ff3333
  199. 33ffff
  200. 33ff33
  201. 3333ff
  202. 333333
  203. sy way to open an image with another application.  See Introduction to Apple Events -  Pictures, Movies, Sounds, and Data Types for more informat
  204. 3333D
  205. information.
  206. Retrieving Lists of Objects
  207. It is now possible to retrieve multiple objects by specifying a li
  208. wwwwww
  209. UUUUUU
  210. DDDDDD
  211. """"""
  212. e current record from the frontmost database. See FileMaker Objects - Database for more
  213. ~ffff
  214. ffffff
  215. ffff33
  216. ff33ff
  217. ff3333
  218. 33ffff
  219. 33ff33
  220. 3333ff
  221. 333333
  222. he entire record set, thereby adding it "in the background" if there is a current found set. This allows for faster performance when creating rec
  223. 3333D
  224. 3333ff
  225. 333333
  226. wwwwww
  227. UUUUUU
  228. DDDDDD
  229. """"""
  230. ~ffff
  231. ffffff
  232. ffff33
  233. ff33ff
  234. ff3333
  235. 33ffff
  236. 33ff33
  237. 3333D
  238. Introduction to Apple eventsB
  239. E=Copyright 
  240. 1988-1996 Claris Corporation.
  241. All Rights Reserved.FAPlease click on the text or icon of an area.
  242. Click here for Help.
  243. E=Copyright 
  244. 1988-1995 Claris Corporation.
  245. All Rights Reserved.FAPlease click on the text or icon of an area.
  246. Click here for Help.
  247. What's New?H
  248. HelpI
  249. Find an Event or ObjectJ
  250. Descriptions 
  251. and ExamplesK
  252. Apple Events & Objects MatrixL
  253. Objects & Events ListM
  254. FileMaker Object HierarchyN
  255. FileMaker ObjectsO
  256. FileMaker Object MapP
  257. FileMaker EventsR
  258. Introduction to Apple EventsS$FileMaker Pro Apple Events
  259. ReferenceT$FileMaker Pro Apple Events
  260. Reference
  261. Object MapB
  262. MenuO
  263. Introduction
  264. to Apple Events
  265. MenuO
  266. Introduction
  267. to Apple Events
  268. Object HierarchyB
  269. GetURLJ    URL SuiteK
  270. MenuM
  271. FileMaker Pro Object MapN
  272. Go ToO
  273. FindP
  274. cRequestQ
  275. Click the names above for more detailed information about the Events and Objects.  To understand more about
  276. the relationships of the Objects to each other, click the Object Hierarchy button.
  277. ExistsT
  278. Print DocumentsU
  279. Quit ApplicationV
  280. Open DocumentsW
  281. Required SuiteX    cMenuItemY
  282. Set DataZ
  283. Print[
  284. Save\
  285. Open]
  286. Event Info^    Data Size_
  287. Get Data`
  288. Class Infoa
  289. Deleteb
  290. Create Newc
  291. Countd
  292. Closee    Duplicatef    cDocumentg
  293. cWindowh
  294. cApplicationi
  295. Core Suitej
  296. End Transactionk
  297. Begin Transactionl    Do Scriptm
  298. Do Menun
  299. cMenuo
  300. Miscellaneous Standards Suitep
  301. cFileMakerScriptq
  302. FileMaker Suiter
  303. Sorts    cDatabaset
  304. cCellu
  305. cColumnv
  306. cRoww
  307. cTablex
  308. Database/Table Suitey
  309. Open ApplicationMakerScriptq
  310. FileMaker Suiter
  311. Sorts    cDatabaset
  312. cCellu
  313. cColumnv
  314. cRoww
  315. cTablex
  316. Database/Table Suitey
  317. Open Application
  318.      FileMaker Pro 3.0 supports most of the objects and events defined in the Core, Table, and Database Suites, as well as parts of the Miscellaneous Standards Suite and a custom suite  for objects and events specific to FileMaker Pro.
  319. Event DataB
  320. MenuJ
  321. Containment Hierarchy
  322. cCell
  323. Request
  324. cRequest
  325. Field
  326. cColumn
  327. Record
  328. Database
  329. cDatabase
  330. A!FileMaker Script
  331. cFileMakerScript
  332. Layout
  333. cTable
  334. Database
  335. cDatabase
  336. A!FileMaker Script
  337. cFileMakerScript
  338. Layout
  339. cTable
  340. cMenu
  341. Document
  342. cDocument
  343. Window
  344. cWindow
  345. Application
  346. cApplication
  347. WMClick the names above for more detailed information about the Object Classes.
  348. +     The containment hierarchy describes which objects are elements of other objects.  For example, the diagram indicates that you could request Layout 1 of Database 1, since layouts are elements of databases. But you couldn't request Menu 1 of Database 1, since menus are not elements of databases.
  349. Object DataB
  350. Menus
  351. FileMaker Pro EventstTExtensions to the standard parameters for events are denoted by their bold keywords.u
  352. Descriptionv
  353. User Terminologyw
  354. Class ID & Constantx
  355. Examplesy
  356. Menus
  357. FileMaker Pro EventstTExtensions to the standard parameters for events are denoted by their bold keywords.u
  358. Descriptionv
  359. User Terminologyw
  360. Class ID & Constantx
  361. Examplesy
  362. Default Type{
  363. Description|
  364. Reply Parameters~
  365. Event ID & Constant
  366. Notes
  367. Default Type
  368. Description
  369. Parameters
  370. Objects and Events ListB
  371. Menuo
  372. FileMaker Pro Objectsp
  373. Object Classq
  374. Notesr
  375. Class Reference formss
  376. Eventst
  377. Mod?u
  378. Descriptionv
  379. Elementsw
  380. Mod?x
  381. Default Typey
  382. Property Descriptionz
  383. User Terms{
  384. Property Class}
  385. Default Type~
  386. Description
  387. User Terminology
  388. Object ID 
  389. Menuo
  390. FileMaker Pro Objectsp
  391. Object Classq
  392. Notesr
  393. Class Reference formss
  394. Eventst
  395. Mod?u
  396. Descriptionv
  397. Elementsw
  398. Mod?x
  399. Default Typey
  400. Property Descriptionz
  401. User Terms{
  402. Property Class}
  403. Default Type~
  404. Description
  405. User Terminology
  406. Object ID 
  407. Table of ContentsB
  408. MenuJ
  409. FileMaker Pro Objects & EventsK.For more information click an event or object.L
  410. User TerminologyM
  411. TypeN
  412. EventO
  413. Event SuiteP
  414. Object Class
  415. MenuJ
  416. FileMaker Pro Objects & EventsK.For more information click an event or object.L
  417. User TerminologyM
  418. TypeN
  419. EventO
  420. Event SuiteP
  421. Object Class
  422. HelpB
  423. MenuD
  424. Table of ContentsE
  425. Topic HeadingF
  426. From BeginningGXSelect the topic of interest or click the button to the right to start at the beginning.
  427. MenuD
  428. Table of ContentsE
  429. Topic HeadingF
  430. From BeginningGXSelect the topic of interest or click the button to the right to start at the beginning.
  431. Descriptions and ExamplesB
  432. is layout provides a list view all of the Events and Objects which are supported in FileMaker Pro.  It provides the same information as the FileMaker Objects Map but in a different manner.  Clicking on the title of an Object or Event will switch to a detailed view of the item.
  433. Using the Content Layouts
  434. Event Data
  435. This layout gives detailed information about each Event that FileMaker Pro supports.  The information supplied includes the event class, ID, terminology, and input  and result p
  436. arameters.  The Examples field provides some samples for using the event using a fictitious syntax similar to the AppleScript language.  The Notes field provides some additional information about the event.  Extensions to the standard parameters for events are denoted by their bold keywords.
  437. Object Data 
  438. This layout gives detailed information about each Object that FileMaker Pro supports.  The information supplied includes object class, ID, terminology, properties, and applicable events. 
  439.  Navigation Layouts
  440. Introduction to Apple Events
  441. This layout is intended to provide background information about Apple events, the Apple Event Object Model, and the Apple Event Registry, as well as information about  support for Apple events in FileMaker Pro.  Each record has an informative text field and examples, when appropriate.
  442. FileMaker Objects Map
  443. This layout is a navigation aid for getting to the information about a specific Event or Object.  It displays all of the Events and Obj
  444. ects that are supported in FileMaker Pro 3.0 or above, grouped according to Apple Event Suites.  Clicking on the title of an Object or Event will switch to a detailed view of the item.
  445. Object Hierarchy
  446. This layout provides a view of the containment hierarchy in FileMaker Pro.  That is, objects are contained by the objects above them.  This containment is indicated by lines.  Clicking on the title of an object will switch to a detailed view of that object class.
  447. Objects and Events List
  448. This database introduces users to the support for Apple events in FileMaker Pro.  It uses a variety of layouts, each intended to display a particular kind of information.  
  449. When you first open this database, you are presented with the main screen, which allows you to choose from among several options.  To choose an option, click on the text or the button icon next to it.  These icons are used throughout the database to let you change the information displayed without having to return to t
  450. he main screen.  The backward and forward arrow icons shown above switch to the previous and next records, respectively.  You can also use the layout pop-up menu in the status area, record book, or scripts to move through the database.
  451.      
  452. Note:  Not all records in this database have data for every field.  If you encounter a blank record while browsing one layout, you have reached the end of the information given for that layout.  Choose another layout to see more information.
  453. Using the
  454. This Help
  455. ScreenO
  456. Go to
  457. Object & Events MatrixP
  458. Go to the Object MapQ
  459. Go to Object HierarchyR?Click here to see full page  descriptions of an Event or ObjectS'Click here to list all Events & ObjectsT.Click here to find out more about Apple EventsU
  460. Click here  to go to Main MenuV5Click here to find a specific Event, Object, or TopicW
  461. Click here to see next recordX!Click here to see previous recordY
  462. Menu[
  463. Using This Database\,Use the scroll bars to see more information.
  464. Using This Database\,Use the scroll bars to see more information.
  465. FindB
  466. MenuW
  467. Descriptions 
  468. and ExamplesX
  469. Show Detail
  470. MenuW
  471. Descriptions 
  472. and ExamplesX
  473. Show Detail
  474. Events & Objects MatrixB
  475. Find Event or ObjectN
  476. FindT
  477. Objects`
  478. Descriptiona
  479. Findb
  480. Canceld
  481. Eventsi
  482. Menun
  483. Topics
  484. Find Event or ObjectN
  485. FindT
  486. Objects`
  487. Descriptiona
  488. Findb
  489. Canceld
  490. Eventsi
  491. Menun
  492. Topics
  493. What's NewB
  494. addison-wesley
  495. 0-201-40735-3@
  496. and/or@
  497. available@
  498. called@
  499. contains@
  500. events
  501. filemaker
  502. supports
  503. simple
  504. object
  505. specifiers
  506. fully@
  507. have@
  508. however@
  509. item@
  510. kmen@
  511. many@
  512. meant@
  513. notified@
  514. order@
  515. primarily@
  516. reference@
  517. scripting@
  518. suites@
  519. suite
  520. common
  521. applications@
  522. truej
  523. understand@
  524. access@
  525. external@
  526. lists
  527. parameters@
  528. components
  529. apple
  530. event@
  531. filemaker
  532. script@
  533. typechar@
  534. pprotection@
  535. prepeating@
  536. cellvalue@
  537. resizeable@
  538. class
  539. object@
  540. enabled@
  541. list@
  542. target@
  543. item's
  544. namea
  545. item's
  546. number
  547. index@
  548. menu's
  549. resource
  550. document@
  551. user's
  552. access
  553. privileges
  554. field@
  555. window
  556. modal@
  557. MenuN
  558. Events & Objects 
  559. MatrixO
  560. FieldW
  561. Recordc
  562. Go Toj
  563. Findl
  564. Eventso
  565. The following events do not require an Apple Events Object:
  566.      Cut, Copy, Paste, Save, Undo, Redo, Quit, Print, Begin Transaction, End Transaction
  567. Get Data
  568. Set Data
  569. Print
  570. Exists
  571.     Duplicate
  572.     Do Script
  573. Do Menu
  574. Delete
  575.     Data Size
  576.     Create   
  577. Get Data
  578. Set Data
  579. Print
  580. Exists
  581.     Duplicate
  582.     Do Script
  583. Do Menu
  584. Delete
  585.     Data Size
  586.     Create   
  587. Count
  588. Close
  589. Class Info
  590.     Menu Item
  591. Request
  592. Layout
  593. FileMaker Script
  594. Database
  595. Document
  596. Window
  597. Application
  598. Objects
  599. AX Click the Object Column or the Event Name for more information on the Object or Event. 
  600. kAEMiscStandardsZ
  601. 'misc'\
  602. kAEBeginTransaction]
  603. 'begi'b
  604. keyAEResultc
  605. typeLongIntegerd
  606.  e*The transaction ID of the new transaction.
  607. tBegins a transaction.  FileMaker Pro returns the transaction ID that must be supplied with subsequent events (like End Transaction) as an event attribute.  While engaged in a transaction, FileMaker Pro will not respond to events from other applications.
  608. Client applications are strongly encouraged to minimize the amount of time they lock up a database with transactions.
  609. Request to begin a transaction.h
  610. Begin Transactionl
  611. '----'
  612. begin transaction
  613. er Pro"
  614.     close window "Addresses"
  615.     close database "Sales Report"
  616.     close document 1
  617.  end tell
  618. For Frontier users:
  619.  with FileMaker
  620.     close(window[2])
  621.  with FileMaker
  622. FileMaker
  623.     close(window[2])
  624.  with FileMaker
  625. To (cApplication)
  626. MenuK
  627. What's New in FileMaker Pro 3.0
  628.     Helvetica
  629. Palatino
  630. Geneva
  631. Courier
  632. Chicago
  633. CXB Futura CondExtraBold
  634. Times
  635. Optima
  636. Go To (cCell)
  637. Go To (cColumn)
  638. Go To (cDatabase)
  639. Go To (cDocment)
  640. Go To (cFileMakerScript)
  641. Go To (cMenu)
  642. Go To (cMenuItem)
  643. Go To (cRequest)
  644. Go To (cRow)
  645. Go To (cTable)
  646. Go To (cWindow)
  647. Go To (Sort)
  648. Go To (Begin Transaction)
  649. Go To (Close)
  650. Go To (Count)
  651. Go To (Class Info)
  652. Go To (Create New)
  653. Go To (Data Size)
  654. Go To (Delete)
  655. Go To (Do Menu)
  656. Go To (Do Script)
  657. Go To (Duplicate)
  658. Go To (End Transaction)
  659. Go To (Event Info)
  660. Go To (Exists)
  661. Go To (Find)
  662. Go To (Get Data)
  663. Go To (GetURL)
  664. Go To (Go To)
  665. Go To (Open)
  666. Go To (Open Application)
  667. Go To (Open Documents)
  668. Go To (Print)
  669. Go To (Print Documents)
  670. Go To (Quit Application)
  671. Go To (Save)
  672. Go To (Set Data)
  673. Go To (Show)
  674. AE from Beginning
  675. Apple Event & Object Matrix
  676. Start up Script
  677. Open Script
  678. A    Main Menu
  679. Introduction to Apple Events
  680. intro
  681. Find all Events
  682. event
  683. Find all Objects
  684. object
  685. Go to Help
  686. Find an Event or Object
  687. Object & Events List
  688. Object
  689. event
  690. Go to Event or Object Layout
  691. Go Next Record
  692. Go Previous Record
  693. Descriptions
  694. Object
  695. event
  696. Go To (Open Application)
  697. open app
  698. Go To (Quit Application)
  699. Go To (Open Documents)
  700. open doc
  701. Go To (Print Documents)
  702. Go To (cCell)
  703. ccell
  704. Go To (cColumn)
  705. cColumn
  706. Go To (cDatabase)
  707. t    cDatabase
  708. Go To (cRow)
  709. Go To (cTable)
  710. cTable
  711. Go To (Sort)
  712. Go To (cMenu)
  713. Menuu
  714. Object
  715. Go To (cMenuItem)
  716. t    cmenuitem
  717. Go To (Begin Transaction)
  718. begin tran
  719. print
  720. Go To (End Transaction)
  721. t    end trans
  722. Go To (Do Script)
  723. t    do script
  724. Go To (Do Menu)
  725. do Menu
  726. Go To (cApplication)
  727. cApplication
  728. Go To (cWindow)
  729. cwindow
  730. Go To (cDocment)
  731. t    cDocument
  732. Go To (Duplicate)
  733. t    duplicate
  734. Go To (Get Data)
  735. get data
  736. Go To (Close)
  737. close
  738. Go To (Data Size)
  739. t    data size
  740. Go To (Count)
  741. count
  742. Go To (Event Info)
  743. event info
  744. Go To (Create New)
  745. create new
  746. Go To (Open)
  747. document
  748. application
  749. Go To (Delete)
  750. delete
  751. Go To (Print)
  752. print
  753. Go To (Exists)
  754. exists
  755. Go To (Save)
  756. Go To (Class Info)
  757. class info
  758. Go To (Set Data)
  759. Set Data
  760. Go To (cFileMakerScript)
  761. cFileMakerScript
  762. Start up Script
  763. Go To (Show)
  764. AE from Beginning
  765. Apple Event & Object Matrix
  766. Go To (cRequest)
  767. cRequestu
  768. Object
  769. Go To (Go To)
  770. go to
  771. Go To (Find)
  772. findu
  773. Event
  774. Go to Perform AppleScript
  775. E:Performing AppleScript Commands from FileMaker Pro Scripts
  776. Go to Details Layout
  777. 5 = "Object"
  778. Object
  779. 5 = "Event"
  780. Event
  781. Go To (GetURL)
  782. geturl
  783. Open Script
  784. Object Hierarchy
  785. Object Map
  786. Cancel Find
  787. Continue Find
  788.  = "All Objects" 
  789. ( = "All Events" 
  790.  = "All Topics"
  791. All Objects
  792. All Events
  793. All Topics
  794.  = "All Objects"
  795. All Objects
  796. ( = "All Events"
  797. All Events
  798.  = "All Topics"
  799. All Topics
  800.     Main Menu
  801. Introduction to Apple Events
  802. Find all Events
  803. Find all Objects
  804. Find an Event or Object
  805. Cancel Find
  806. Continue Find
  807. Object & Events List
  808. Go to Help
  809. Go to Event or Object Layout
  810. Go to Details Layout
  811. Go Next Record
  812. Go Previous Record
  813. Go to Perform AppleScript
  814. Descriptions
  815. Object Hierarchy
  816. Object Map
  817. Go To (cApplication)
  818. 3333D
  819. ~ffff
  820. ffffff
  821. ffff33
  822. ff33ff
  823. ff3333
  824. 33ffff
  825. 33ff33
  826. 3333ff
  827. 333333
  828. wwwwww
  829. UUUUUU
  830. DDDDDD
  831. """"""
  832. 3333D
  833. ~ffff
  834. ffffff
  835. ffff33
  836. ff33ff
  837. ff3333
  838. 33ffff
  839. 33ff33
  840. 3333ff
  841. 333333
  842. wwwwww
  843. UUUUUU
  844. DDDDDD
  845. """"""
  846. 3333D
  847. ~ffff
  848. ffffff
  849. ffff33
  850. ff33ff
  851. ff3333
  852. 33ffff
  853. 33ff33
  854. 3333ff
  855. 333333
  856. wwwwww
  857. UUUUUU
  858. DDDDDD
  859. """"""
  860. 3333D
  861. ~ffff
  862. ffffff
  863. ffff33
  864. ff33ff
  865. ff3333
  866. 33ffff
  867. 33ff33
  868. 3333ff
  869. 333333
  870. wwwwww
  871. UUUUUU
  872. DDDDDD
  873. """"""
  874. 3333D
  875. ~ffff
  876. ffffff
  877. ffff33
  878. ff33ff
  879. ff3333
  880. 33ffff
  881. 33ff33
  882. 3333ff
  883. 333333
  884. wwwwww
  885. UUUUUU
  886. DDDDDD
  887. """"""
  888. 3333D
  889. ~ffff
  890. ffffff
  891. ffff33
  892. ff33ff
  893. ff3333
  894. 33ffff
  895. 33ff33
  896. 3333ff
  897. 333333
  898. wwwwww
  899. UUUUUU
  900. DDDDDD
  901. """"""
  902. 3333D
  903. ~ffff
  904. ffffff
  905. ffff33
  906. ff33ff
  907. ff3333
  908. 33ffff
  909. 33ff33
  910. 3333ff
  911. 333333
  912. wwwwww
  913. UUUUUU
  914. DDDDDD
  915. """"""
  916. 3333D
  917. ~ffff
  918. ffffff
  919. ffff33
  920. ff33ff
  921. ff3333
  922. 33ffff
  923. 33ff33
  924. 3333ff
  925. 333333
  926. wwwwww
  927. UUUUUU
  928. DDDDDD
  929. """"""
  930. 3333D
  931. ~ffff
  932. ffffff
  933. ffff33
  934. ff33ff
  935. ff3333
  936. 33ffff
  937. 33ff33
  938. 3333ff
  939. 333333
  940. wwwwww
  941. UUUUUU
  942. DDDDDD
  943. """"""
  944. 3333D
  945. ~ffff
  946. ffffff
  947. ffff33
  948. ff33ff
  949. ff3333
  950. 33ffff
  951. 33ff33
  952. 3333ff
  953. 333333
  954. wwwwww
  955. UUUUUU
  956. DDDDDD
  957. """"""
  958. 3333D
  959. ~ffff
  960. ffffff
  961. ffff33
  962. ff33ff
  963. ff3333
  964. 33ffff
  965. 33ff33
  966. 3333ff
  967. 333333
  968. wwwwww
  969. UUUUUU
  970. DDDDDD
  971. """"""
  972. 3333D
  973. ~ffff
  974. ffffff
  975. ffff33
  976. ff33ff
  977. ff3333
  978. 33ffff
  979. 33ff33
  980. 3333ff
  981. 333333
  982. wwwwww
  983. UUUUUU
  984. DDDDDD
  985. """"""
  986. 3333D
  987. ~ffff
  988. ffffff
  989. ffff33
  990. ff33ff
  991. ff3333
  992. 33ffff
  993. 33ff33
  994. 3333ff
  995. 333333
  996. wwwwww
  997. UUUUUU
  998. DDDDDD
  999. """"""
  1000. ~ffff
  1001. ffffff
  1002. ffff33
  1003. ff33ff
  1004. ff3333
  1005. 33ffff
  1006. 33ff33
  1007. 3333ff
  1008. 333333
  1009. wwwwww
  1010. UUUUUU
  1011. DDDDDD
  1012. """"""
  1013. 33ffD
  1014. ffffff
  1015. ffff33
  1016. ff33ff
  1017. ff3333
  1018. 33ffff
  1019. 33ff33
  1020. 3333ff
  1021. 333333
  1022. ffffJ
  1023. wwwwww
  1024. UUUUUU
  1025. DDDDDD
  1026. """"""
  1027. 33ffD
  1028. ~ffff
  1029. ffffff
  1030. ffff33
  1031. ff33ff
  1032. ff3333
  1033. 33ffff
  1034. 33ff33
  1035. 3333ff
  1036. 333333
  1037. wwwwww
  1038. UUUUUU
  1039. DDDDDD
  1040. """"""
  1041. 33ffD
  1042. ~ffff
  1043. ffffff
  1044. ffff33
  1045. ff33ff
  1046. ff3333
  1047. 33ffff
  1048. 33ff33
  1049. 3333ff
  1050. 333333
  1051. wwwwww
  1052. UUUUUU
  1053. DDDDDD
  1054. """"""
  1055. 3333D
  1056. ~ffff
  1057. ffffff
  1058. ffff33
  1059. ff33ff
  1060. ff3333
  1061. 33ffff
  1062. 33ff33
  1063. 3333ff
  1064. 333333
  1065. wwwwww
  1066. UUUUUU
  1067. DDDDDD
  1068. """"""
  1069. 33ffD
  1070. ~ffff
  1071. ffffff
  1072. ffff33
  1073. ff33ff
  1074. ff3333
  1075. 33ffff
  1076. 33ff33
  1077. 3333ff
  1078. 333333
  1079. wwwwww
  1080. UUUUUU
  1081. DDDDDD
  1082. """"""
  1083. 3333D
  1084. ~ffff
  1085. ffffff
  1086. ffff33
  1087. ff33ff
  1088. ff3333
  1089. 33ffff
  1090. 33ff33
  1091. 3333ff
  1092. 333333
  1093. wwwwww
  1094. UUUUUU
  1095. DDDDDD
  1096. """"""
  1097. 33ffD
  1098. ~ffff
  1099. ffffff
  1100. ffff33
  1101. ff33ff
  1102. ff3333
  1103. 33ffff
  1104. 33ff33
  1105. 3333ff
  1106. 333333
  1107. wwwwww
  1108. UUUUUU
  1109. DDDDDD
  1110. """"""
  1111. 3333D
  1112. ~ffff
  1113. ffffff
  1114. ffff33
  1115. ff33ff
  1116. ff3333
  1117. 33ffff
  1118. 33ff33
  1119. 3333ff
  1120. 333333
  1121. wwwwww
  1122. UUUUUU
  1123. DDDDDD
  1124. """"""
  1125. wwwwww
  1126. ffffff
  1127. 333333
  1128. """"""
  1129. ~ffff
  1130. ffffff
  1131. ffff33
  1132. ff33ff
  1133. ff3333
  1134. 33ffff
  1135. 33ff33
  1136. 3333ff
  1137. 333333
  1138. wwwwww
  1139. UUUUUU
  1140. DDDDDD
  1141. """"""
  1142. (LIST
  1143. LISTA
  1144. VDEFA(
  1145. (LIST
  1146. LISTA6name
  1147. absolute position
  1148. range
  1149. relative position
  1150. VDEFA(
  1151. (LIST
  1152. LISTA
  1153. Event
  1154. Object
  1155. VDEFA(
  1156. (LIST
  1157. LISTAsAll Objects
  1158. Application
  1159. Database
  1160. Document
  1161. Field
  1162. FileMaker Script
  1163. Layout
  1164. Menu Item
  1165. Record
  1166. Request
  1167. Window
  1168. VDEFA(
  1169. (LIST
  1170. ~ffff
  1171. ffffff
  1172. ffff33
  1173. ff33ff
  1174. ff3333
  1175. 33ffff
  1176. 33ff33
  1177. LISTA
  1178. 333333
  1179. wwwwww
  1180. UUUUUU
  1181. DDDDDD
  1182. """"""
  1183. (LIST
  1184. All Topics
  1185. What are Apple Events
  1186. The Components of an Apple Event
  1187. The Object Model
  1188. More About Objects
  1189. Specifying Objects
  1190. Apple Event Suites
  1191. The FileMaker Suite
  1192. Supported Reference Forms
  1193. Default Containment
  1194. FileMaker Pro Layouts
  1195. Fields and Field Order
  1196. Lists as Parameters
  1197. Transactions
  1198. Sending Apple Events from FileMaker Pro Scripts
  1199. More About FileMaker Pro Scripts
  1200. Performing AppleScript Commands from FileMaker Pro Scripts
  1201. External Menus
  1202. Pictures, Movies, Sounds, and Data Types
  1203. RelationaB4l Data Access
  1204. Converting Previous Scripts
  1205. References
  1206. VDEFA(
  1207. EResultReq ListB
  1208. OClassKeyForms ListC
  1209. Record Type ListD
  1210. ObjectsE
  1211. EventsF
  1212. Topics
  1213. All Events
  1214. Begin Transaction
  1215. Class Info
  1216. Close
  1217. Count
  1218. Create New
  1219. Data Size
  1220. Delete
  1221. Do Menu
  1222. Do Script
  1223. Duplicate
  1224. End Transaction
  1225. Event Info
  1226. Exists
  1227. Get Data
  1228. GetURL
  1229. Go To
  1230. Open Application
  1231. Open Documents
  1232. Print (files)
  1233. Print (objects)
  1234. Set Data
  1235. VDEFA(
  1236. Sunday
  1237. Monday
  1238. Tuesday
  1239.     Wednesday
  1240. Thursday
  1241. Friday
  1242. Saturday
  1243. January
  1244. February
  1245. March
  1246. April
  1247. August
  1248.     September
  1249. October
  1250. November
  1251. December
  1252. 1st Quarter
  1253. 2nd Quarter
  1254. 3rd Quarter
  1255. 4th Quarter
  1256. kAECoreSuiteZ
  1257. 'core'\
  1258. kAEGetClassInfo]
  1259. 'qobj'^
  1260. keyDirectObject_
  1261. typeTypea
  1262. The object class to query.b
  1263. keyAEResultc
  1264. typeClassInfod
  1265. The requested information.f
  1266. Returns an Apple event record of type typeClassInfo.  The data in this record correspond to the information in the 
  1267.  resource in FileMaker Pro.gHRequests info about the properties and elements of the indicated object.h
  1268. Class Infok
  1269. '----'l
  1270. '----'
  1271. -A,class info <object class>
  1272. class info window
  1273. Eventv
  1274. 13se(window["NameOfWindow"])
  1275. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  1276. Event
  1277. 1ata Access
  1278. Related fields placed on layouts can be accessed via Apple events. Fields and cells within portals can be edited and related records created and deleted using standard Apple events such as Set Data, Create, and Delete. See Int
  1279. ords. To navigate to a created record, use the Go To event, as in go to (create record).  See FileMaker Events - Create for more information.
  1280. Value Lists
  1281. The Choices property of fields and cells can be used to obtain the value list defined for a field.  Because value lists are now assigned to fields in layout mode, the Choices property is layout-specific.  In this way a field can have different value lists depending on what layout it is on.  It is now possible to get the index values of a
  1282. M field by retrieving using the Choices of a field when it has the option to base the value list upon a field. See FileMaker Objects - Field and Cell for more information.
  1283. Blank Passwords
  1284. You can now open FileMaker Pro databases with a blank password by specifying an empty string.  See FileMaker Events - Open for more information.
  1285. t such as  get current record will return a reference to the current record from the frontmost database. See FileMaker Objects - Database for more
  1286.  information.
  1287. Creating & Duplicating Returns an Object Reference
  1288. When creating or duplicating a record or request, FileMaker Pro 3.0 now returns a reference to the new object in the form of an object specifier. See FileMaker Events - Create and Duplicate for more information.
  1289. Version Property
  1290. The application
  1291. s version property now returns the application version information from the version resource (
  1292. ) instead of an integer that requires conversion. See FileMaker Objects - Applicat
  1293. ion for more information.
  1294. Background Operation
  1295. You now have the option of adding new records to the found set or the entire set of records by using the document and database objects.  By default, FileMaker Pro adds new records to the found set.  Specifying the database object with a create or duplicate event, however, will add the new record to the entire record set, thereby adding it "in the background" if there is a current found set. This allows for faster performance when creating rec
  1296. st of IDs.  For instance, the following statement will find all records whose IDs are in a list:
  1297.       show every record whose ID is in {1, 2, 3}
  1298. Cell and Field ID
  1299. Cell and field ID
  1300. s now include relationship identifiers. If a field is related, the ID is returned as a list with two parameters - the relationship identifier and the field identifier. For example, a field ID of {1, 2} is the unique identifier for a related field using the relationship whose identifier is one and the field fro
  1301. m the related file whose ID is two.  See Introduction to Apple Events - Relational Data Access and FileMaker Objects - Cell and Field for more information.
  1302. Current Record and Current Layout
  1303. When using the current record and current layout properties of a database it is no longer necessary to specify the database object.  For instance, a statement such as  get current record will return a reference to the current record from the frontmost database. See FileMaker Objects - Database for more
  1304. Narrowing Found Sets
  1305. Using the Show event with the Database object selects records from the entire database. A Show event directed at a Document, however, retrieves records from the current found set. With the Document object, you can start with a broad search criteria and narrow the found set with subsequent Show events. See FileMaker Events - Show for more information.
  1306. Global Fields & Merge Fields
  1307. Fields and cells now have a globalValue property that can be used to determine wheth
  1308. er a field is global or not. In addition, merge fields can be accessed through Apple events using Get Data and Set Data events. See FileMaker Objects - Field for more information.
  1309. Visible Property of Layouts
  1310. Because layouts can now be hidden, there is a new property that indicates whether or not the layout is visible in the layout popup menu. See FileMaker Objects - Layout for more information.
  1311. Retrieving Lists of Objects
  1312. It is now possible to retrieve multiple objects by specifying a li
  1313. roduction to Apple Events - Relational Data Access for more information.
  1314. Go To Event
  1315. The Go To event allows you to navigate to FileMaker Pro objects such as databases, layouts, records, and cells. For instance, the Go To event can be used to tab into a field. See FileMaker Events - Go To for more information. 
  1316. GetURL
  1317. FileMaker Pro 3.0 supports the opening of databases over the Internet when hosted with TCP/IP.  This event from the URL suite allows applications such as Netscape to open a 
  1318. FileMaker Pro database from a Web page. See FileMaker Events - GetURL for more information.
  1319. Picture File References
  1320. It is now possible to import pictures via Apple events using a reference to the file. This allows the scripter to automate the importing of large numbers of images while keeping the size of the database small. It also provides an easy way to open an image with another application.  See Introduction to Apple Events -  Pictures, Movies, Sounds, and Data Types for more informat
  1321. New for FileMaker Pro 3.0v1
  1322. Converting Scripts
  1323. In order to take advantage of some of the new capabilities of FileMaker Pro 3.0, scripts that were created for previous versions of FileMaker Pro that use the Show event will need to be modified. See Introduction to Apple Events - Converting Previous Scripts for more information.
  1324. Requests
  1325. FileMaker Pro 3.0 now has the ability to create, edit, count, and delete find requests using the Request object. Requests are similar to records 
  1326.  you can 
  1327. manipulate the entire request or cells contained within the request. This can be used to save find requests, quickly find records, and create find requests with FileMaker Pro find symbols.  See FileMaker Events - Requests for more information.
  1328. Relational Data Access
  1329. Related fields placed on layouts can be accessed via Apple events. Fields and cells within portals can be edited and related records created and deleted using standard Apple events such as Set Data, Create, and Delete. See Int
  1330. What can I do with it?
  1331. Use the Begin Transaction event to place FileMaker Pro in a state where it will only accept Apple event requests from the application that began the transaction or have the transaction ID that FileMaker Pro returned.
  1332. Most users will probably not need to use this feature. But in a group setting, where multiple users may have multiple transactions going simultaneously, and each one expects the database to be in a certain state, it can be a useful event. 
  1333. Examples
  1334.  AppleScript users:
  1335. tell application "FileMaker Pro"
  1336.     set i to 1
  1337.     with transaction
  1338.         repeat
  1339.             set cell 1 to i
  1340.             set i to i + 1
  1341.         end repeat
  1342.     end 
  1343. end tell
  1344. Note: After compiling this script, the "end" statement following "end repeat" will become "end transaction". The script will be functional in this form, but before the script will successfully recompile after any additional edits, the word "transaction" must be deleted.
  1345. For Frontier users:
  1346.  with FileMaker
  1347.    beginTransaction()  -- 
  1348. returns a transaction ID
  1349. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  1350. Begin Transactiont
  1351. Begin Transaction
  1352. event
  1353. finds
  1354. group
  1355. records
  1356. specified
  1357. nsactionA
  1358. transactionsA
  1359. trueM
  1360. typeB
  1361. typeclassinfoB
  1362. typeeventinfoL
  1363. userG
  1364. usingN
  1365. validJ
  1366. valuesM
  1367. whileA
  1368. willA
  1369. windowsC
  1370. withA
  1371. wordsM
  1372. xxxxG
  1373. aboutB
  1374. actionH
  1375. asksM
  1376. given
  1377. object
  1378. existsM
  1379. associatedH
  1380. beginA
  1381. classD
  1382. closesC
  1383. closes
  1384. indicated
  1385. objectsC
  1386. copyJ
  1387. countsD
  1388. counts
  1389. number
  1390. elements
  1391. indicated
  1392. class
  1393. createsE
  1394. creates
  1395. element
  1396. indicated
  1397. class
  1398. specifieE
  1399. dataF
  1400. deletesG
  1401. deletes
  1402. specified
  1403. objectG
  1404. action
  1405. associated
  1406. itemH
  1407. elementE
  1408. elementsB
  1409. eventsL
  1410. existsM
  1411. filemakerI
  1412. fromF
  1413. getsF
  1414. specified
  1415. objectF
  1416. givenM
  1417. containerD
  1418. countD
  1419. whatA
  1420. whenE
  1421. whenever_
  1422. whereA
  1423. whereas`
  1424. whetherE
  1425. whichE
  1426. whileI
  1427. whoseG
  1428. willA
  1429. windowB
  1430. window1g
  1431. windownameg
  1432. windowsC
  1433. wishP
  1434. withA
  1435. withinQ
  1436. withoutE
  1437. won'tM
  1438. 89 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12345
  1439. beganA
  1440. beginA
  1441. beginsG
  1442. begintransactionA
  1443. begunK
  1444. behavesc
  1445. beingc
  1446. bellamyf
  1447. belongingL
  1448. belowH
  1449. beneathB
  1450. besidea
  1451. bestT
  1452. betweenQ
  1453. binaryB
  1454. blankG
  1455. boldH
  1456. booleanY
  1457. bothH
  1458. boundaryg
  1459. boundsg
  1460. brandc
  1461. bringf
  1462. broadf
  1463. browseH
  1464. businessJ
  1465. byteF
  1466. bytesF
  1467. calculatedB
  1468. calculationZ
  1469. cell'sZ
  1470. cellsD
  1471. cellvalueZ
  1472. certainA
  1473. changesX
  1474. channelsY
  1475. charE
  1476. characterF
  1477. charactersF
  1478. checkedE
  1479. choicesX
  1480. clarisP
  1481. clarisworksS
  1482. classB
  1483. classesL
  1484. classinfoB
  1485. clauseO
  1486. clausesG
  1487. cleanW
  1488. clickP
  1489. clipboardQ
  1490. closeC
  1491. closedU
  1492. cmenH
  1493. cmnuH
  1494. colonsZ
  1495. com/productP
  1496. commandH
  1497. transaction
  1498. class
  1499. close
  1500. count
  1501. create
  1502. database
  1503. delete
  1504. script
  1505. document
  1506. duplicate
  1507. transaction
  1508. event
  1509. exists
  1510. field
  1511. filemaker
  1512. script
  1513. geturl
  1514. layout
  1515. application
  1516. documents
  1517. print
  1518. files
  1519. print
  1520. objects
  1521. record
  1522. request
  1523. window
  1524. window
  1525. object
  1526. What can I do with it?
  1527. Getting the class info of an object lets the user see exactly how FileMaker Pro looks at an object
  1528. by showing what objects are elements of that object (directly beneath it in the object hierarchy), and what properties the object has.
  1529. The syntax for the Class Info event is very simple to use. All you need to provide is a class name. The class names in FileMaker Pro are Application, Window, Document, Database, FileMaker Script, Layout, Field, Record, Cell, Menu, and M
  1530. enu Item.
  1531. The list Class Info returns is geared to a technical audience. Most end-users, particularly AppleScript users, will not need to access the information contained in Class Info. For more easily understood information on Class Info data, see the description for that event in this layout.
  1532. Note: All Get commands in AppleScript are understood. Thus you could say  get class info of record,  or simply  class info record.
  1533. Examples
  1534. For AppleScript users:
  1535.  class info record
  1536.  get window 
  1537. class info
  1538.  database class info
  1539. For Frontier users:
  1540. Before using the FileMaker table in Frontier to do a getClassInfo, you need to edit the classInfo Frontier verb so that it reads as follows:
  1541. on classInfo(class,humanLanguage)
  1542.   appleEvent(FileMaker.ID,'core','qobj','----',class,'wrcd,humanLanguage)
  1543. where humanLanguage is calculated using a new script added to the FileMaker table in Frontier called makeWritingCode, for example.
  1544. on makeWritingCode(scriptCode, langCode)
  1545.   local(writingC
  1546.   writingCode = binary(short(scriptCode))+binary(short(langCode))
  1547.   setBinaryType(@writingCode,'intl')
  1548.   return(writingCode)
  1549. Examples of querying  the class info of an object are as follows:
  1550.  with FileMaker
  1551.    classInfo(application,makeWritingCode(0,0))
  1552.    classInfo(document,makeWritingCode(0,0))
  1553.    classInfo(window,makeWritingCode(0,0))
  1554.    classInfo(menu,makeWritingCode(0,0))
  1555.    classInfo(database,makeWritingCode(0,0))
  1556.    classInfo(FileMakerScript,makeWritingCode(0,0))
  1557.    classInfo
  1558. 7(menuItem,makeWritingCode(0,0))
  1559.    classInfo(record,makeWritingCode(0,0))
  1560.    classInfo(layout,makeWritingCode(0,0))
  1561.    classInfo(field,makeWritingCode(0,0))
  1562.    classInfo(cell,makeWritingCode(0,0))
  1563. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  1564. Class Infot
  1565. Class Infou
  1566. Eventv
  1567. kAECoreSuiteZ
  1568. 'core'\
  1569. kAEClose]
  1570. 'clos'^
  1571. keyDirectObject_
  1572. typeObjectSpecifier`
  1573. The object to closef1Closes document windows, documents, and databasesg
  1574. Closes the indicated objectsh
  1575. Closek
  1576. '----'
  1577. returns
  1578. apple
  1579. event
  1580. record
  1581. typeclassinfo
  1582. dataB
  1583. returns
  1584. apple
  1585. event
  1586. record
  1587. typeeventinfo
  1588. dataL
  1589. returns
  1590. indicated
  1591. object
  1592. exists
  1593. false
  1594. otherwiseM
  1595. revealf
  1596. scriptI
  1597. searchN
  1598. sendP
  1599. event
  1600. internet
  1601. helper
  1602. application
  1603. filemP
  1604. sendingP
  1605. setse
  1606. object
  1607. supplied
  1608. valuee
  1609. shouldS
  1610. showf
  1611. sizeF
  1612. sortz
  1613. sortsz
  1614. specialD
  1615. specifiedF
  1616. specifiersF
  1617. specifyN
  1618. statementf
  1619. statesS
  1620. stronglyA
  1621. subsequentA
  1622. suppliedA
  1623. supportsE
  1624. sureP
  1625. switchQ
  1626. syntaxP
  1627. tcp/ipP
  1628. tellP
  1629. thatA
  1630. providedA
  1631. providingR
  1632. prpsZ
  1633. prpt]
  1634. prszg
  1635. ptitg
  1636. pulledW
  1637. punq]
  1638. pvise
  1639. pzumg
  1640. qobjB
  1641. quarterly^
  1642. queryY
  1643. queryingB
  1644. quicktimee
  1645. quitW
  1646. quitapplicationW
  1647. randomO
  1648. rangeO
  1649. readO
  1650. read-onlye
  1651. read-writea
  1652. readsB
  1653. readyI
  1654. realize]
  1655. really_
  1656. scriptA
  1657. scriptcodeB
  1658. scriptmakerI
  1659. scriptsD
  1660. secondG
  1661. secondsI
  1662. securityH
  1663. selectedE
  1664. sendI
  1665. sendingI
  1666. setbinarytypeB
  1667. settingA
  1668. setupsI
  1669. severalE
  1670. shortB
  1671. showingB
  1672. simpleB
  1673. simplyB
  1674. simultaneouslyA
  1675. sinceF
  1676. sizeF
  1677. someE
  1678. sometimesD
  1679. sortsI
  1680. specifierC
  1681. specifyE
  1682. specifyingE
  1683. stateA
  1684. statementA
  1685. storesF
  1686. stringE
  1687. string4H
  1688. styleH
  1689. submenuE
  1690. commandsB
  1691. commonlyY
  1692. compactR
  1693. compilingA
  1694. completedI
  1695. complexE
  1696. componentsz
  1697. computerX
  1698. containedB
  1699. containerO
  1700. containmentD
  1701. containsG
  1702. contentsQ
  1703. continueI
  1704. continuingH
  1705. continuouslyI
  1706. controlE
  1707. copiesQ
  1708. copyQ
  1709. copyingQ
  1710. coreB
  1711. correspondF
  1712. correspondsF
  1713. couldB
  1714. countD
  1715. countedD
  1716. countingD
  1717. createE
  1718. create
  1719. scriptmaker
  1720. script
  1721. relevant
  1722. database
  1723. createdE
  1724. createsE
  1725. creatingE
  1726. criteriaO
  1727. currentE
  1728. cuttingQ
  1729. dataB
  1730. data1E
  1731. data2E
  1732. databaseA
  1733. databasesC
  1734. datasizeF
  1735. defaultE
  1736. deleteG
  1737. deletedA
  1738. deletingG
  1739. delimitedE
  1740. descriptionB
  1741. descriptionsE
  1742. desktopW
  1743. detailedL
  1744. dialogI
  1745. differencesR
  1746. differentQ
  1747. directedQ
  1748. directlyB
  1749. followingA
  1750. followsB
  1751. formA
  1752. formatH
  1753. formattedZ
  1754. formsP
  1755. formulaZ
  1756. formulasZ
  1757. forthI
  1758. foundD
  1759. frequentlyX
  1760. fromA
  1761. frontf
  1762. frontierA
  1763. frontmostN
  1764. fullZ
  1765. layoutsD
  1766. letsB
  1767. likeE
  1768. lineE
  1769. listB
  1770. localB
  1771. locationE
  1772. looksB
  1773. makewritingcodeB
  1774. manipulationE
  1775. manipulation-seeE
  1776. mechanismF
  1777. menuB
  1778. menuitemB
  1779. menusE
  1780. mindE
  1781. moreB
  1782. mostA
  1783. multipleA
  1784. mustA
  1785. mymenuE
  1786. nameB
  1787. nameofwindowC
  1788. namesB
  1789. navigateE
  1790. -AMclose <object specifier>
  1791. close window 1
  1792. close database named "Sales Reports"
  1793. What can I do with it?
  1794. You can use the Close event to close windows, documents, and databases. 
  1795. To use the Close event you need to provide an object specifier that refers to a window, document, or database, for example, window 1, or document "Test File".
  1796. Examples
  1797. For AppleScript users:
  1798.  tell application "FileMaker Pro"
  1799.     close window "Addresses"
  1800.     close database "Sales Report"
  1801.     close document 1
  1802.  end tell
  1803. For Frontier users:
  1804.  with FileMaker
  1805.     close(window[2])
  1806.  with FileMaker
  1807.     close(window["NameOfWindow"])
  1808. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  1809. Closet
  1810. Closeu
  1811. Eventv
  1812. kAECoreSuiteZ
  1813. 'core'\
  1814. kAECountElements]
  1815. 'cnte'^
  1816. keyDirectObject
  1817. keyAEObjectClass_
  1818. typeObjectSpecifier
  1819. typeType`
  1820. The container object
  1821. The element class to countb
  1822. keyAEResultc
  1823. typeLongIntegerd
  1824. The number of elementsf
  1825. Counting the number of layouts returns the number of layouts in the file. Remember that the special layout, layout 0, is not counted.gMCounts the number of elements of the indicated class in the specified object.h
  1826. Countk
  1827. '----'
  1828. 'kocl'l
  1829. '----'
  1830. -A_count of <container object> class <desired class>
  1831. count of database named "Sales" class layout
  1832. queryB
  1833. recordT
  1834. recordsN
  1835. resultsz
  1836. savedX
  1837. scriptI
  1838. showf
  1839. sortz
  1840. specificationP
  1841. suiteL
  1842. createE
  1843. initial
  1844. element's
  1845. propertiesE
  1846. initial
  1847. elementE
  1848. location
  1849. elementE
  1850. performedH
  1851. object
  1852. class
  1853. queryB
  1854. object
  1855. closeC
  1856. object
  1857. duplicateJ
  1858. object
  1859. whose
  1860. desiredF
  1861. objects
  1862. deletedG
  1863. script
  1864. performedI
  1865. typeF
  1866. whereJ
  1867. where
  1868. place
  1869. duplicateJ
  1870. whoseF
  1871. keyaeresult
  1872. typeclassinfo
  1873. typelonginteger
  1874. typeobjectspecifier
  1875. dataF
  1876. elementE
  1877. elementsD
  1878. informationB
  1879. numberD
  1880. objectE
  1881. objectsJ
  1882. requestedB
  1883. sizeF
  1884. specifierE
  1885. specifiersJ
  1886. number
  1887. elementsD
  1888. object
  1889. specifier
  1890. elementE
  1891. object
  1892. specifiers
  1893. objectsJ
  1894. specifierC
  1895. statez
  1896. stringP
  1897. tableF
  1898. tellW
  1899. application
  1900. filemaker
  1901. quitW
  1902. textF
  1903. thepasswordR
  1904. transactionA
  1905. typeF
  1906. valuesE
  1907. visiblee
  1908. whosef
  1909. windowB
  1910. withE
  1911. aboutW
  1912. aboveW
  1913. accordingW
  1914. additionalW
  1915. allowsW
  1916. alsoW
  1917. amongW
  1918. anotherW
  1919. appearingW
  1920. appleW
  1921. areaW
  1922. arrowW
  1923. backgroundW
  1924. backwardW
  1925. blankW
  1926. boldW
  1927. bookW
  1928. browsingW
  1929. buttonW
  1930. changeW
  1931. chooseW
  1932. classW
  1933. clickW
  1934. clickingW
  1935. containedW
  1936. containmentW
  1937. contentW
  1938. continueW
  1939. dataW
  1940. wordA
  1941. workI
  1942. workingH
  1943. worksM
  1944. wouldX
  1945. wrcdB
  1946. writeI
  1947. writingcodeB
  1948. yourR
  1949. zoneP
  1950. zoomableg
  1951. zoomedg
  1952. applicationS
  1953. beginA
  1954. begin
  1955. transactionA
  1956. classB
  1957. class
  1958. infoB
  1959. close
  1960. count
  1961. createE
  1962. create
  1963. dataF
  1964. sizeF
  1965. database
  1966. delete
  1967. menuH
  1968. scriptI
  1969. document
  1970. documentsT
  1971. duplicate
  1972. transactionK
  1973. eventL
  1974. event
  1975. infoL
  1976. exists
  1977. field
  1978. filemaker^
  1979. filemaker
  1980. script^
  1981. filesU
  1982. close
  1983. count
  1984. createE
  1985. create
  1986. dataF
  1987. sizeF
  1988. delete
  1989. menuH
  1990. scriptI
  1991. documentsT
  1992. duplicate
  1993. transactionK
  1994. eventL
  1995. event
  1996. infoL
  1997. exists
  1998. dataO
  1999. geturl
  2000. What can I do with it?
  2001. Use the Count event to count the items of a particular object. This is normally done by counting the object elements of another object. This event is one of the reasons why understanding the object hierarchy in FileMaker Pro, sometimes known as containment, is important.
  2002. The following are the objects the Count event can operate on:
  2003.   Windows
  2004.   Documents
  2005.   Databases
  2006.   FileMaker Scripts
  2007.   Layouts (layout 0 is never counted, however)
  2008.   Records
  2009.   Requests
  2010.   Fields
  2011.   Cel
  2012. Examples
  2013. For AppleScript users:
  2014. To count:                                                           You can say:
  2015. records in a file (include found set)  count of record
  2016. records in a file (ignore found set)   count record of database 1
  2017. requests in a file               count request
  2018. fields in a file                       count field
  2019. FileMaker scripts in a file            count FileMaker script of window 1
  2020. cells in a file (ignore found set)     count of database 1 class cell
  2021. cells in a record     
  2022.                  count cell of record 2
  2023. For Frontier users:
  2024. To count:                                                            You can say:
  2025.                                        with FileMaker (must be included in script)
  2026. records in a file (include found set)    count(window[1],record)
  2027. records in a file (ignore found set)     count(database[1],record)
  2028. fields in a file                         count(database[1],field)
  2029. FileMaker scripts in a file              count(database[1],FileMakerSD
  2030. cript)
  2031. cells in a file (ignore found set)       count(document[1],cell)
  2032. cells in a record                        count(record[1],cell)
  2033. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  2034. Countt
  2035. Countu
  2036. Eventv
  2037.      FileMaker supports many of the events and objects defined in the Core, Table, Database, and Miscellaneous suites.  Use the navigator buttons to see detailed info on this support.  The Apple events support of FileMaker Pro gives access to most of the features available in the Browse and Find modes.  Through Apple events, you can create and delete records, change layouts, perform finds, get and set record data, and execute FileMaker scripts.  There is no support for defining new fields,
  2038. h altering field definitions, creating or modifying layouts or scripts, or setting up access privileges.
  2039.      FileMaker Pro only accepts Apple events from the local machine.  In order to access data on a networked FileMaker database, the user must first open the database locally.  The user
  2040. s access privileges will be taken into account for all Apple events.  
  2041. requested
  2042. informationB
  2043. requested
  2044. dataF
  2045. tionA
  2046. transactionA
  2047. aeteB
  2048. amountA
  2049. appleB
  2050. applicationsA
  2051. attributeA
  2052. beginsA
  2053. begins
  2054. transaction
  2055. filemaker
  2056. returns
  2057. transaction
  2058. classesE
  2059. clientA
  2060. closesC
  2061. closes
  2062. document
  2063. windows
  2064. documents
  2065. databasesC
  2066. cmenuE
  2067. cmenuitemE
  2068. correspondB
  2069. countedD
  2070. countingD
  2071. counting
  2072. number
  2073. layouts
  2074. returns
  2075. number
  2076. layoutsD
  2077. creationE
  2078. crowE
  2079. dataB
  2080. databaseA
  2081. databasesC
  2082. documentC
  2083. documentsC
  2084. encouragedA
  2085. engagedA
  2086. eventA
  2087. eventsA
  2088. fileD
  2089. filemakerA
  2090. filemaker
  2091. supports
  2092. creation
  2093. cmenu
  2094. cmenuitem
  2095. fromA
  2096. informationB
  2097. layoutD
  2098. layoutsD
  2099. likeA
  2100. lockA
  2101. minimizeA
  2102. mustA
  2103. numberD
  2104. otherA
  2105. recordB
  2106. rememberD
  2107. resourceB
  2108. respondA
  2109. returnsA
  2110. omitH
  2111. openR
  2112. aliasR
  2113. alias
  2114. password
  2115. thepasswordR
  2116. applicationS
  2117. aliasT
  2118. orderz
  2119. passwordR
  2120. printI
  2121. print
  2122. alias
  2123. aliasU
  2124. print
  2125. alias
  2126. macintosh
  2127. battersU
  2128. print
  2129. object
  2130. specifierV
  2131. productP
  2132. propertiesE
  2133. propertyE
  2134. recordG
  2135. regionz
  2136. reportF
  2137. reportsC
  2138. salesC
  2139. saveX
  2140. object
  2141. specifierX
  2142. screenf
  2143. scriptI
  2144. selectH
  2145. named
  2146. firstname
  2147. record
  2148. brendane
  2149. checked
  2150. menuitem
  2151. named
  2152. external
  2153. object
  2154. specifier
  2155. datae
  2156. visible
  2157. window
  2158. falsee
  2159. showf
  2160. every
  2161. record
  2162. whose
  2163. named
  2164. mccarthyf
  2165. layout
  2166. named
  2167. screenf
  2168. object
  2169. specifierf
  2170. window
  2171. sizeF
  2172. sortz
  2173. fields
  2174. order
  2175. directionz
  2176. layout
  2177. named
  2178. monthly
  2179. sales
  2180. report
  2181. field
  2182. named
  2183. regionz
  2184. desiredD
  2185. directionz
  2186. named
  2187. externalH
  2188. named
  2189. selectH
  2190. object
  2191. specifierH
  2192. script
  2193. filemaker
  2194. script
  2195. named
  2196. print
  2197. reportI
  2198. script
  2199. object
  2200. specifierI
  2201. duplicateJ
  2202. duplicate
  2203. object
  2204. specifier
  2205. insertion
  2206. locationJ
  2207. duplicate
  2208. record
  2209. transactionK
  2210. entryQ
  2211. eventL
  2212. event
  2213. coreL
  2214. event
  2215. event
  2216. classL
  2217. event
  2218. fmprL
  2219. everyF
  2220. existsM
  2221. externalH
  2222. falsee
  2223. fieldF
  2224. field
  2225. existsM
  2226. fieldsz
  2227. fileT
  2228. filemakerI
  2229. findN
  2230. window
  2231. window
  2232. contactsN
  2233. window
  2234. object
  2235. specifierN
  2236. firstnamee
  2237. fmp3P
  2238. fmprL
  2239. typeO
  2240. dataof
  2241. window
  2242. infoB
  2243. initialE
  2244. insertionE
  2245. itemH
  2246. lastG
  2247. layoutD
  2248. layout
  2249. existsM
  2250. locationE
  2251. menuH
  2252. nameF
  2253. namedC
  2254. objectB
  2255. object
  2256. specifier
  2257. existsM
  2258. count
  2259. container
  2260. object
  2261. class
  2262. desired
  2263. classD
  2264. count
  2265. database
  2266. named
  2267. sales
  2268. class
  2269. layoutD
  2270. createE
  2271. create
  2272. class
  2273. create
  2274. insertion
  2275. location
  2276. currentQ
  2277. customz
  2278. dataE
  2279. every
  2280. field
  2281. layout
  2282. window
  2283. object
  2284. specifier
  2285. desired
  2286. typeF
  2287. table
  2288. named
  2289. field
  2290. sales
  2291. report
  2292. textF
  2293. databaseC
  2294. dataofO
  2295. deleteG
  2296. delete
  2297. recordG
  2298. delete
  2299. object
  2300. specifierG
  2301. kAECoreSuiteZ
  2302. 'core'\
  2303. kAECreateElement]
  2304. 'crel'^    keyAEData
  2305. keyAEInsertHere
  2306. keyAEObjectClass
  2307. keyAEPropData_
  2308. varies
  2309. typeInsertionLoc
  2310. typeType
  2311. typeAERecord
  2312.  a$The initial data for the new element
  2313.  The location for the new element
  2314. The element class to create
  2315. -The initial data for the element's propertiesb
  2316. keyAEResultc
  2317. typeObjectSpecifierd
  2318.  e(The object specifier for the new elementfJFileMaker Pro supports creation of the cMenu, cMenuItem, and cRow classes.gDCreates a new element of the indicated class in the specified objecth
  2319. Create Newk
  2320. 'data'
  2321. 'insh'
  2322. 'kobc'
  2323. 'prdt'l
  2324. '----'
  2325. -Aucreate new <class to create> [at <insertion location>] [with data <initial data> ][with properties <property values>]
  2326. What can I do with it?
  2327. Use the Create New event to create new records, requests, menus and menu items. 
  2328. When creating a record or request, FileMaker Pro returns a reference to the new object in the form of an object specifier such as  record ID 5 of database "Contacts" of application "FileMaker Pro".
  2329. Records can be added either to the found set or the entire set of records by specifying the document or database objects.  By default, FileMaker Pro adds new records to the found set.  Speci
  2330. fying the database object with the create event, however,  will add the new record to the entire record set, thereby adding it "in the background" if there is a current found set. This allows for faster performance when creating records. 
  2331. When creating objects, keep in mind that you have some control over where the new object is placed, and whether it has initial data or some other property. Use the "at" location parameter to specify a layout, database, document, or window in which to cre
  2332. ate the object. Use the "with data" option to enter data and the "with properties" option to set a property such as the "omitted" property of requests. To navigate to a created record or request, use the Go To event as in "go to (create record)".  
  2333. All user-defined menus are created in the External menu, which appears when a new menu is added for the first time. Menus can be nested. See the descriptions of Menu and Menu Item for more information.
  2334. Note: FileMaker Pro can notify any applic
  2335. ation that creates a menu item in its External menu that the menu item has been selected. However, the current version of the AppleScript Script Editor cannot respond to Apple events, and so has no way to respond to menu items it creates in FileMaker Pro. Applications like HyperCard and Excel can respond to menu items they place in FileMaker Pro.
  2336. Examples
  2337. For AppleScript users:
  2338. To create a new:                                                You can say:
  2339. record (without data)                  create new record
  2340. record (with one field of data)        create new record with data "Jane"
  2341. record (with several fields of data)   create new record with data {"Jane",
  2342.                                          "Austen"}
  2343. record (in the found set)              create new record
  2344. record (in the entire record set)       create new record at database 1
  2345. request (without data)                  create new request
  2346. request (with one field of data)    
  2347.     create new request with data "Jane"
  2348. request (with several fields of data)   create new request with data {"Jane",
  2349.                                           "Austen"}
  2350. request (with omitted option checked)   create new request with properties {omitted:                             true}
  2351. menu                                   create new menu with properties 
  2352.                                          "MyMenu"
  2353. menu of a menu (a submenu)             create new menu at menu "1st Menu"
  2354.                             
  2355.               with properties "2nd Menu"
  2356. menu item                              create new menu item with properties
  2357.                                          "My Menu Item"
  2358. menu item (of a menu)                  create new menu item at menu "1st
  2359.                                          Menu" with properties "A Menu Item"
  2360. For Frontier users:
  2361. To create a new:                                                You can say:
  2362.                           
  2363.                                                      with FileMaker
  2364. record (without data)                    create(record,"",""
  2365.                                                        ,insertLoc(last,window[1]) 
  2366.                
  2367. record (with one field of data)          create(record,"data",""
  2368.                                                        ,insertLoc(last,window[1])                
  2369. record (with several fields of data)     theData = "data1" + Char(9) + "data2"
  2370.                        
  2371.                   {this line creates tab delimited data    }
  2372.                                          {i.e. char(9).  There are string         }
  2373.                                          {manipulation verbs in Frontier that     }
  2374.                                          {allow for more complex string           }
  2375.                                          {manipulation-see Frontier docs.         }
  2376.                                          create(record,"theData",""
  2377.                              
  2378.                          ,insertLoc(last,window[1]) 
  2379. menu                                     create(menu,"","AName",
  2380.                                                        insertLoc(last,window[1])
  2381. menu item                                create(menuItem,"","AName",   
  2382.                                                        insertLoc(last,window[1])
  2383. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  2384. Create Newt
  2385. Create Newu
  2386. Eventv
  2387. kAECoreSuiteZ
  2388. 'core'\
  2389. kAEGetDataSize]
  2390. 'dsiz'^
  2391. keyDirectObject
  2392. keyAERequestedType_
  2393. typeObjectSpecifier
  2394. typeAEList`
  2395.  a!The object whose data is desired.
  2396. 3A list (in order of preference) of the desired typeb
  2397. keyAEResultc
  2398. typeLongIntegerd
  2399. The size of the requested data.f
  2400. Gets the size (in bytes) of data from the indicated object specifiers.  
  2401. If no requested type parameter is specified, the event will return the size for the default type for the object.g0Gets the size of data from the specified object.h    Data Sizek
  2402. '----'
  2403. 'rtyp'l
  2404. '----'
  2405. data size [of] <object specifier> as <desired data type>
  2406. data size of name of window 1
  2407. data size of name of every field of layout 0
  2408. data size of table named "Field Sales Report" as 'TEXT'
  2409. dataE
  2410. databaseE
  2411. databasesq
  2412. dater
  2413. dealj
  2414. defaultp
  2415. definem
  2416. definedE
  2417. definesq
  2418. definingE
  2419. definitionsE
  2420. deleteE
  2421. deletedo
  2422. deleting{
  2423. deletion{
  2424. demos}
  2425. dependl
  2426. dependingi
  2427. derrick}
  2428. derrick
  2429. schneider}
  2430. describej
  2431. describingk
  2432. descriptioni
  2433. designerv
  2434. desiredh
  2435. detailedE
  2436. determinep
  2437. determined{
  2438. developer}
  2439. developers}
  2440. development}
  2441. devlink}
  2442. devoted}
  2443. dialect}
  2444. dialogi
  2445. document'su
  2446. documentation|
  2447. documentsh
  2448. doest
  2449. durationt
  2450. eachi
  2451. earlier|
  2452. edited{
  2453. editingt
  2454. editor|
  2455. efficiento
  2456. elementsk
  2457. empty{
  2458. enabled{
  2459. engagedt
  2460. english-likel
  2461. ensuret
  2462. ensuringv
  2463. entirem
  2464. equal{
  2465. equivalents
  2466. errorsw
  2467. establisht
  2468. eventi
  2469. manyE
  2470. master{
  2471. matchings
  2472. meaningi
  2473. meansp
  2474. mightm
  2475. miscellaneousE
  2476. modelj
  2477. modesE
  2478. modifyingE
  2479. monthlyl
  2480. morel
  2481. mostE
  2482. mustE
  2483. mutuallyh
  2484. namei
  2485. namedl
  2486. navigatorE
  2487. nearlyn
  2488. necessarym
  2489. networkh
  2490. networkedE
  2491. nevero
  2492. nexto
  2493. nonep
  2494. normallyp
  2495. notel
  2496. nounsj
  2497. numberi
  2498. numbersi
  2499. oappi
  2500. objecti
  2501. object'sk
  2502. objectsE
  2503. obtaino
  2504. occurrencek
  2505. onceo
  2506. onlyE
  2507. openE
  2508. openedi
  2509. operatej
  2510. operatingh
  2511. optionsi
  2512. orderE
  2513. ordinalk
  2514. otherh
  2515. overh
  2516. pagei
  2517. paragraphl
  2518. parameteri
  2519. parametersi
  2520. pastei
  2521. performE
  2522. performingi
  2523. persistento
  2524. personnell
  2525. picturei
  2526. placeh
  2527. portionsm
  2528. positionk
  2529. powerj
  2530. powerfull
  2531. indicatedB
  2532. infoB
  2533. itemH
  2534. layoutz
  2535. makesJ
  2536. makes
  2537. indicated
  2538. objectJ
  2539. makes
  2540. specified
  2541. objects
  2542. visiblef
  2543. scriptI
  2544. propertiesB
  2545. requestA
  2546. request
  2547. begin
  2548. transactionA
  2549. requestsB
  2550. requests
  2551. about
  2552. properties
  2553. elements
  2554. indicB
  2555. scriptI
  2556. sizeF
  2557. specifiedD
  2558. transactionA
  2559. withH
  2560. beginA
  2561. begin
  2562. transactionA
  2563. classB
  2564. class
  2565. infoB
  2566. close
  2567. count
  2568. createE
  2569. create
  2570. dataF
  2571. sizeF
  2572. delete
  2573. menuH
  2574. scriptI
  2575. infoB
  2576. menuH
  2577. scriptI
  2578. sizeF
  2579. transactionA
  2580. beginA
  2581. begin
  2582. transactionA
  2583. classB
  2584. class
  2585. object
  2586. classB
  2587. class
  2588. windowB
  2589. closeC
  2590. close
  2591. database
  2592. named
  2593. sales
  2594. reportsC
  2595. close
  2596. object
  2597. specifierC
  2598. close
  2599. window
  2600. containerD
  2601. countD
  2602. performanceE
  2603. performingQ
  2604. periodI
  2605. periodicallyX
  2606. persistentZ
  2607. pforZ
  2608. pictO
  2609. pictureO
  2610. picturesO
  2611. pidxg
  2612. piece]
  2613. pisfY
  2614. pitchersR
  2615. pknd_
  2616. placeA
  2617. placedE
  2618. planJ
  2619. plckZ
  2620. pmodg
  2621. pnamY
  2622. pnls]
  2623. pomtc
  2624. popup_
  2625. portalsQ
  2626. positionO
  2627. possibleH
  2628. powerX
  2629. ppasT
  2630. pproZ
  2631. preferenceP
  2632. presentW
  2633. prevI
  2634. previewQ
  2635. previousO
  2636. printI
  2637. printingI
  2638. privilegesH
  2639. probablyA
  2640. processI
  2641. processingK
  2642. productP
  2643. productsP
  2644. propertiesB
  2645. propertyE
  2646. protectedR
  2647. protectionZ
  2648. protectsH
  2649. protocolP
  2650. provideB
  2651. parameterE
  2652. parametersL
  2653. partI
  2654. particularD
  2655. particularlyB
  2656. passwordR
  2657. passwordsR
  2658. pasteQ
  2659. pastesQ
  2660. pathS
  2661. pbndg
  2662. pbstY
  2663. pchka
  2664. pchsZ
  2665. pclsY
  2666. pcly[
  2667. pcrw[
  2668. performI
  2669. needA
  2670. neededW
  2671. nestedE
  2672. nestingH
  2673. netscapeP
  2674. networkingP
  2675. neverD
  2676. newdatae
  2677. newnamee
  2678. nextI
  2679. non-repeatingZ
  2680. nonez
  2681. normallyD
  2682. noteA
  2683. notebookX
  2684. notifyE
  2685. nullG
  2686. nulls]
  2687. nullsok]
  2688. numberF
  2689. numberedg
  2690. onceP
  2691. onlyA
  2692. openJ
  2693. opendocpasswordR
  2694. opendocumentR
  2695. opendocwithpasswordT
  2696. openingR
  2697. operateD
  2698. operatedY
  2699. operatingQ
  2700. operatorsG
  2701. optionE
  2702. option-semicolonH
  2703. orderK
  2704. ordersI
  2705. ordinarilyT
  2706. otherE
  2707. overE
  2708. pageI
  2709. successfullyA
  2710. suchE
  2711. suggestionsI
  2712. suiteL
  2713. summaryQ
  2714. suppliedR
  2715. supportQ
  2716. supportedL
  2717. supposedS
  2718. suppressedU
  2719. sureM
  2720. swainf
  2721. switchQ
  2722. thedataE
  2723. thenI
  2724. thereE
  2725. therebyE
  2726. theyE
  2727. thisA
  2728. thoseG
  2729. throughF
  2730. thusB
  2731. timeE
  2732. timeoutI
  2733. timeoutsI
  2734. transactionA
  2735. transactionidK
  2736. transactionsA
  2737. triggerH
  2738. trueE
  2739. unableI
  2740. understandingD
  2741. understoodB
  2742. untilG
  2743. script
  2744. event
  2745. trigger
  2746. script
  2747. filemakerI
  2748. transaction
  2749. event
  2750. conclude
  2751. transaction
  2752. thatK
  2753. usedG
  2754. usefulA
  2755. userB
  2756. user-definedE
  2757. userlandL
  2758. usersA
  2759. usingB
  2760. valueF
  2761. verbB
  2762. verbsE
  2763. versionE
  2764. veryB
  2765. infoB
  2766. itema
  2767. layout
  2768. menuH
  2769. itema
  2770. applicationS
  2771. documentsT
  2772. printU
  2773. print
  2774. filesU
  2775. print
  2776. objectsV
  2777. scriptI
  2778. sizeF
  2779. transactionA
  2780. event
  2781. object
  2782. Pro 1.0F!
  2783. Pro 3.0J
  2784. t    US Letter    A4 Letter
  2785. US Legal
  2786. International Fanfold
  2787. Computer Paper
  2788. Envelope (#10)
  2789. els^23456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12345
  2790. What can I do with it?
  2791. Use the Data Size event to retrieve the size of the data (in bytes) contained in an object. It can be a useful mechanism for getting the number of characters in a field, since there is one byte per character in a field.
  2792. Note: Data Size returns the size of the data handled by Apple events and does not always correspond to how FileMaker Pro stores the data. For example, the statement "data size of current record" returns a value such as 136 which corresponds to the nu
  2793. mber of bytes for the object reference "record id 1 of database "ABC" of application "FileMaker Pro"" not the data contained in the record.
  2794. Examples
  2795. For AppleScript users:
  2796. If you want to:                                                 You can say:
  2797. count characters in a database         data size of every field of layout 0
  2798. count characters in a particular cell  data size of cell "Last Name" of last record
  2799. get size of a cell as a text value     data size of cell "Name"
  2800. 1 of record 1 as "TEXT"
  2801. get size of a group of records         data size of records 1 through 4
  2802. For Frontier users:
  2803.   with FileMaker
  2804.    dataSize(window[1],'****')
  2805.    dataSize(cell[1],'****')
  2806. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  2807. s    Data Sizet
  2808. Data Sizeu
  2809. Eventv
  2810. kAECoreSuiteZ
  2811. 'core'\    kAEDelete]
  2812. 'delo'^
  2813. keyDirectObject_
  2814. typeObjectSpecifier`
  2815. The objects to be deleted.f
  2816. FileMaker Pro supports deletion of the cMenu, cMenuItem, and cRow classes.  
  2817. Note:  If the user does not have privileges to delete records, the error result, errAEBadPassword ('xxxx') will be returned.g
  2818. Deletes the specified objecth
  2819. Deletek
  2820. '----'
  2821. kaebegintransaction
  2822. kaeclone
  2823. kaeclose
  2824. kaecountelements
  2825. kaecreateelement
  2826. kaedelete
  2827. kaedomenu
  2828. kaedoobjectsexist
  2829. ransaction
  2830. kaegetclassinfo
  2831. kaegetdatasize
  2832. kaegeteventinfo
  2833. keyaedata
  2834. keyaeinserthere
  2835. keyaeobjectclass
  2836. keyaepropdata
  2837. keyaerequestedtype
  2838. keydirectobject
  2839. typeaelist
  2840. typeaerecord
  2841. typeinsertionloc
  2842. typeobjectspecifier
  2843. typetype
  2844. varies
  2845. order
  2846. preference
  2847. desired
  2848. typeF
  2849. classB
  2850. closeC
  2851. containerD
  2852. countD
  2853. createE
  2854. dataE
  2855. deletedG
  2856. desiredF
  2857. duplicateJ
  2858. elementD
  2859. element'sE
  2860. eventL
  2861. initialE
  2862. itemH
  2863. listF
  2864. locationE
  2865. menuH
  2866. objectB
  2867. objectsG
  2868. orderF
  2869. performedH
  2870. placeJ
  2871. preferenceF
  2872. propertiesE
  2873. transaction
  2874. transactionA
  2875. transactionA
  2876. trueM
  2877. object
  2878. existsM
  2879. 10006e
  2880. accessO
  2881. aeteB
  2882. allowingK
  2883. alsoe
  2884. amountA
  2885. anyoneS
  2886. appleB
  2887. applicationP
  2888. applicationsA
  2889. ascendingz
  2890. attemptse
  2891. attributeA
  2892. becauseM
  2893. beforeP
  2894. beginsA
  2895. begins
  2896. transaction
  2897. filemaker
  2898. returns
  2899. transaction
  2900. browseQ
  2901. bytesF
  2902. cdatabasef
  2903. cellsO
  2904. choosingJ
  2905. classesE
  2906. clientA
  2907. closesC
  2908. closes
  2909. document
  2910. windows
  2911. documents
  2912. databasesC
  2913. cmenuE
  2914. cmenuitemE
  2915. conjunctionf
  2916. correspondB
  2917. countedD
  2918. countingD
  2919. counting
  2920. number
  2921. layouts
  2922. returns
  2923. number
  2924. layoutsD
  2925. createN
  2926. creationE
  2927. criteriaN
  2928. crowE
  2929. ctablef
  2930. currentN
  2931. databaseA
  2932. databasesC
  2933. defaultF
  2934. deleteG
  2935. objectF
  2936. objectse
  2937. onlyJ
  2938. opensT
  2939. opens
  2940. indicated
  2941. filemaker
  2942. documentT
  2943. operatione
  2944. orderO
  2945. otherA
  2946. otherwiseM
  2947. parameterF
  2948. performingQ
  2949. performsH
  2950. performs
  2951. indicated
  2952. filemaker
  2953. scriptI
  2954. performs
  2955. indicated
  2956. enabledH
  2957. previewQ
  2958. printsU
  2959. prints
  2960. indicated
  2961. filemaker
  2962. documentU
  2963. privilegesG
  2964. propere
  2965. propertyM
  2966. protocolP
  2967. quitsW
  2968. quits
  2969. filemaker
  2970. readO
  2971. read-onlye
  2972. recordB
  2973. recordsG
  2974. registerP
  2975. rememberD
  2976. requestN
  2977. requestedF
  2978. requestsN
  2979. resourceB
  2980. respondA
  2981. resultG
  2982. resultsf
  2983. returnF
  2984. returnedG
  2985. returnsA
  2986. functionalA
  2987. functionalityK
  2988. furtherR
  2989. gearedB
  2990. generalP
  2991. generateH
  2992. generateda
  2993. getasO
  2994. getclassinfoB
  2995. geteventinfoL
  2996. getfiledialogS
  2997. getpropertyY
  2998. getsZ
  2999. gettingB
  3000. geturlP
  3001. globalZ
  3002. globalsY
  3003. globalvalueZ
  3004. goingA
  3005. grayed`
  3006. greaterf
  3007. groupA
  3008. groupsf
  3009. gteiL
  3010. guestP
  3011. gurlL
  3012. handledF
  3013. hardR
  3014. harddiskg
  3015. hasn't]
  3016. haveA
  3017. hclbg
  3018. helpI
  3019. helperP
  3020. helpfulX
  3021. integerO
  3022. internetP
  3023. intlB
  3024. intoO
  3025. involvedI
  3026. itemB
  3027. itemsD
  3028. -A-delete <object specifier>
  3029. delete last record
  3030. What can I do with it?
  3031. Use the Delete event to delete records, requests, menus, and menu items.
  3032. Note: 
  3033. - The only menus and menu items that can be deleted are those in the External menu. 
  3034. - When deleting all requests, there is a null request (request 0) until a request is created or  the database is switched to another mode at which time an initial blank request is created (request 1).
  3035. Examples
  3036. For AppleScript users:
  3037.  To delete :                                                          
  3038.     You can say:                                      
  3039. first record (include found set)          delete record 1
  3040. last record (include found set)           delete last record
  3041. delete all records in found set          delete every record
  3042. delete all records in database          delete every record of database 1
  3043. delete all requests                delete every request
  3044. first menu item in the "External" menu    delete menu item 1 of menu "External"
  3045. a menu item named "a menu item"           delete menu item "a menu 
  3046. item" of menu 
  3047.                                                                         "External"
  3048. second menu in the "External" menu        delete menu 2 of menu "External"
  3049. every record that matches the condition   delete every record whose cell 1 = "x"
  3050. (Other operators that can be used for "whose" clauses: <, 
  3051. , >, 
  3052. , AND, OR, NOT, begins with, ends with, contains).
  3053. For Frontier users:
  3054.  To delete :                                                                You can say:          
  3055.                             
  3056.                                       with FileMaker
  3057. first record (in found set)               delete(record[1])
  3058. last record (in found set)                delete(document[1].record[1])
  3059. first menu item in the "External" menu    delete(window["fileName"].record[1])
  3060. a menu item named "a menu item"           delete(menu["External"].menu[1])
  3061. second menu in the "External" menu        delete(menu["External"].menuItem[1])
  3062. every record matching a condition         delet
  3063. e(record[cell[1]=="x"])
  3064. (Other operators that can be used for whose clauses: <, 
  3065. , >, 
  3066. , AND, OR, NOT, begins with, ends with, contains.)
  3067. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  3068. Deletet    
  3069. Deleteu
  3070. Eventv
  3071. kAEMiscStandardsZ
  3072. 'misc'\    kAEDoMenu]
  3073. 'menu'^
  3074. keyDirectObject_
  3075. typeObjectSpecifier`
  3076. The menu item to be performed.f.Performs the indicated menu if it is enabled.
  3077. g*Do the action associated with a menu item.h
  3078. Do Menuk
  3079. '----'
  3080. -Axdo menu <object specifier>
  3081. do menu menu item named "Omit" of menu "Select"
  3082. do menu menu item 1 of menu named "External"
  3083. What can I do with it?
  3084. Use the Do Menu event to trigger a command from a FileMaker Pro menu.
  3085. Keep the following in mind when working with menus: 
  3086.  It is possible to access nested menus, by specifying the nesting (see below). 
  3087.  Menu items referred to by name must exactly match the way they appear in FileMaker Pro. Where ellipses appear, use the option-semicolon character to generate the ellipse. 
  3088.  You must include the menu when referring to a menu item  (for example, do menu menu item 
  3089. deletionG
  3090. desiredf
  3091. directionz
  3092. documentC
  3093. documentsC
  3094. doesG
  3095. duplicateJ
  3096. duplicatingJ
  3097. elseS
  3098. emptyM
  3099. enabledH
  3100. encouragedA
  3101. endsK
  3102. indicated
  3103. transaction
  3104. allowing
  3105. other
  3106. applications
  3107. engagedA
  3108. equivalentJ
  3109. erraebadpasswordG
  3110. erraewritedeniede
  3111. errorG
  3112. evenM
  3113. eventA
  3114. eventsA
  3115. supports
  3116. event
  3117. cmenu
  3118. cmenuitJ
  3119. filemaker
  3120. supports
  3121. creation
  3122. cmenu
  3123. cmenuitem
  3124. filemaker
  3125. supports
  3126. deletion
  3127. cmenu
  3128. cmenuitem
  3129. findN
  3130. findsN
  3131. fromA
  3132. getsF
  3133. bytes
  3134. indicated
  3135. object
  3136. groupN
  3137. haveG
  3138. indicatedF
  3139. informationB
  3140. insertionJ
  3141. intendedM
  3142. itemJ
  3143. itemsJ
  3144. layoutD
  3145. layoutsD
  3146. likeA
  3147. locateM
  3148. locationJ
  3149. lockA
  3150. manipulateK
  3151. menuH
  3152. minimizeA
  3153. mustA
  3154. documentsC
  3155. doesF
  3156. doesn'tg
  3157. doingV
  3158. domainP
  3159. domenuH
  3160. doneD
  3161. doscriptI
  3162. doubZ
  3163. downW
  3164. duplicateJ
  3165. duplicatedJ
  3166. duplicatingJ
  3167. eachA
  3168. easilyB
  3169. editB
  3170. editedN
  3171. editorE
  3172. editsA
  3173. eitherE
  3174. elementsB
  3175. ellipseH
  3176. ellipsesH
  3177. ellipsisa
  3178. emptyM
  3179. enableP
  3180. enabled`
  3181. enbl`
  3182. eventsE
  3183. everyF
  3184. exactlyB
  3185. exampleB
  3186. examplesA
  3187. excelE
  3188. existsM
  3189. expectsA
  3190. externalE
  3191. factM
  3192. falseM
  3193. fasterE
  3194. featureA
  3195. featuresI
  3196. fieldB
  3197. fieldsD
  3198. fileC
  3199. filemakerA
  3200. filemakerscriptB
  3201. filenameG
  3202. filesP
  3203. finallyH
  3204. findH
  3205. findmeO
  3206. findsI
  3207. firstE
  3208. flowI
  3209. "New Record" of menu "Edit"). 
  3210.  Certain menu items are not available in both Browse and Find modes, or cannot be resolved by an Apple event, for example, Access Privileges.
  3211.  Finally, FileMaker Pro may ignore some events for security reasons. For example, you cannot delete a record or a found set using Apple events. This protects the user from accidentally deleting records. If you want to delete a record, you must use the Delete event.
  3212. Examples
  3213. For AppleScript users:
  3214. If you want to acce
  3215. ss a:              You can say:
  3216. user-defined menu           do menu menu item "MyMenuItem" of menu "External"
  3217. FileMaker menu item         do menu menu item "Relookup" of menu "Edit"
  3218. menu item of a submenu      do menu menu item "Bold" of menu "Style" of menu "Format"
  3219. menu item (omit) by index   do menu menu item 8 of menu 4
  3220. For Frontier users:  
  3221. Before continuing edit the doMenu entry of the FileMaker table so that it reads as follows:
  3222.  doMenu(obj)
  3223.   return(appleEvent(FileMaker.ID,'misc','menu','----',obj))
  3224. Additionally, you need to add the following string4 constants to the FileMaker table:
  3225.   'cmnu' for menus
  3226.   'cmen' for menu items
  3227. If you want to:                                            You can say:
  3228.                                     with FileMaker
  3229. access a user-defined menu            doMenu(menu["External"].menuItem["MyMenuItem"]) 
  3230. acces
  3231. }s a FileMaker menu item          doMenu(menu["Edit"].menuItem["Relookup"])
  3232. access a menu item of a submenu       doMenu(menu["Format"].menu["Style"].menuItem
  3233.                                          ["Bold"])
  3234. access a menu item (omit) by index    doMenu(menu[4].[8])
  3235. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  3236. Do Menut
  3237. Do Menuu
  3238. Eventv
  3239. kAEMiscStandardsZ
  3240. 'misc'\
  3241. kAEDoScript]
  3242. 'dosc'^
  3243. keyDirectObject_
  3244. typeObjectSpecifier`
  3245. The script to be performedf,Performs the indicated FileMaker Pro script.g
  3246. Perform a FileMaker Pro script.h    Do Scriptk
  3247. '----'
  3248. -AMdo script <object specifier>
  3249. do script FileMaker script named "Print Report"
  3250. What can I do with it?
  3251. Use the Do Script event to trigger a script in the FileMaker Pro Scripts menu.
  3252. To use the Do Script event you need to provide an object specifier for a script, like FileMaker script 1, or last FileMaker script, or FileMaker script "Print Sales Report". (You must always refer to a script object as FileMaker script <x>; the word "FileMaker" is part of the name of the object.)
  3253. You may find it useful to write a script that restores complex finds, sorts, import orders, 
  3254. janeE
  3255. jonesZ
  3256. justU
  3257. kaeopendocumentsR
  3258. laterK
  3259. layoutB
  3260. layoutsD
  3261. lengthenI
  3262. letsB
  3263. likeE
  3264. lineE
  3265. listB
  3266. localB
  3267. locateM
  3268. locationE
  3269. locatorP
  3270. looksB
  3271. machineP
  3272. macintoshQ
  3273. makeM
  3274. makewritingcodeB
  3275. manipulateK
  3276. manipulationE
  3277. manipulation-seeE
  3278. matchH
  3279. matchesG
  3280. matchingG
  3281. mechanismF
  3282. meetingI
  3283. menuB
  3284. menuitemB
  3285. menusE
  3286. merelyP
  3287. middleO
  3288. mindE
  3289. miscH
  3290. miscellaneousL
  3291. modeG
  3292. modesH
  3293. moreB
  3294. mostA
  3295. users
  3296. probably
  3297. feature
  3298. moveQ
  3299. multipleA
  3300. mustA
  3301. mymenuE
  3302. mymenuitemH
  3303. nameB
  3304. namedG
  3305. nameofwindowC
  3306. namesB
  3307. navigateE
  3308. navigatingQ
  3309. navigationQ
  3310. necessaryQ
  3311. and page setups, and then call the script to do the work for you, particularly if printing is involved. FileMaker Pro scripts have the ability to restore page setups, print without a dialog, and so forth, which are features not available to Apple events.
  3312. Note: the Do Script event is successfully completed when the FileMaker Pro script begins. Because FileMaker Pro is unable to process Apple events while a ScriptMaker script is running, it is possible to receive a timeout error when sendin
  3313. g events to FileMaker Pro after sending a Do Script event.  Here are some suggestions to help avoid timeouts:
  3314. 1) lengthen the timeout period using a statement such as with timeout of 600 seconds
  3315. 2) implement a flow control mechanism by using ScriptMaker to send an event to the applet to continue with the next Apple event to FileMaker Pro.
  3316. 3) use a routine to continuously send events to FileMaker Pro and continue only when FileMaker Pro is ready.  Call the WaitUntilReady routine after send
  3317. ing the Do Script event and before sending another event to FileMaker Pro. Here is an example of such a routine:
  3318. on WaitUntilReady()
  3319.     with timeout of 5 seconds
  3320.         repeat
  3321.             try
  3322.                 tell application "FileMaker Pro" to get version
  3323.                 return
  3324.             on error number errnum
  3325.             end try
  3326.         end repeat
  3327.     end timeout
  3328. end WaitUntilReady
  3329. Examples
  3330. For AppleScript users:
  3331. If you want to perform:                You can say:
  3332. the first 
  3333. script            do script FileMaker script 1
  3334. the last script             do script last FileMaker script
  3335. a script by its name        do script FileMaker script "Print Sales Report"
  3336. all scripts meeting a test  do script every FileMaker script whose name = "aName"
  3337. For Frontier users:
  3338. If you want to perform:                You can say:
  3339.                             with FileMaker
  3340. the first script              doScrip
  3341. t(FileMakerScript[1])      
  3342. the second script             doScript(FileMakerScript[2])
  3343. a script by its name          doScript(FileMakerScript["x"])
  3344. the second script             doScript(FileMakerScript[1].FileMakerScript['next'])
  3345. the second script             doScript(FileMakerScript[3].FileMakerScript['prev'])
  3346. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  3347. s    Do Scriptt
  3348. Do Scriptu
  3349. Eventv
  3350. kAECoreSuiteZ
  3351. 'core'\
  3352. kAEClone]
  3353. 'clon'^
  3354. keyDirectObject
  3355. keyAEInsertHere_
  3356. typeObjectSpecifier
  3357. typeInsertionLoc`
  3358. The object to duplicate
  3359. Where to place the duplicateb
  3360. keyAEResultc
  3361. typeObjectSpecifierd
  3362.  e(The object specifiers of the new objectsf
  3363. FileMaker Pro only supports this event for the cMenu, cMenuItem, and cRow object classes.  The only valid insertion location is "at the end of existing items." 
  3364. Duplicating a record (cRow) is equivalent to choosing the "Duplicate Record" menu item.
  3365. g$Makes a copy of the indicated objecth    Duplicatek
  3366. '----'
  3367. 'inshl
  3368. '----'
  3369. -AHduplicate <object specifier> to <insertion location>
  3370. duplicate record 5
  3371. reasonsD
  3372. receiveI
  3373. receivedK
  3374. recompileA
  3375. recordB
  3376. recordsD
  3377. rectangleg
  3378. referI
  3379. referenceE
  3380. referredH
  3381. referringH
  3382. refersC
  3383. regardless[
  3384. regionz
  3385. registerP
  3386. relatedZ
  3387. related
  3388. cells
  3389. accessed
  3390. apple
  3391. events
  3392. relationshipZ
  3393. relativeO
  3394. relevantV
  3395. relookupH
  3396. remainU
  3397. remember`
  3398. reorderz
  3399. repeatA
  3400. repeatingQ
  3401. repeatsZ
  3402. repetitionQ
  3403. repetitionsQ
  3404. replaceP
  3405. replyL
  3406. reportC
  3407. reportsJ
  3408. representedZ
  3409. representingP
  3410. shortB
  3411. showingB
  3412. simpleB
  3413. simplyB
  3414. simultaneouslyA
  3415. sinceF
  3416. sizeF
  3417. someE
  3418. sometimesD
  3419. sortsI
  3420. specifierC
  3421. specifyE
  3422. specifyingE
  3423. stateA
  3424. statementA
  3425. storesF
  3426. stringE
  3427. string4H
  3428. styleH
  3429. submenuE
  3430. What can I do with it?
  3431. Use the Duplicate event to duplicate records, requests, menus, and menu items in an open file. 
  3432. When duplicating a record or request, FileMaker Pro returns a reference to the new object in the form of an object specifier such as  record ID 5 of database "Contacts" of application "FileMaker Pro".
  3433. Duplicated records can be added either to the found set or the entire set of records by specifying the document or database objects.  By default, FileMaker Pro adds new rec
  3434. ords to the found set.  Specifying the database object with the duplicate event, however, will add the new record to the entire record set, thereby adding it "in the background" if there is a current found set. This results in faster performance when duplicating records. 
  3435. When duplicating objects, keep in mind that you have some control over where the new object is placed. Use the "to" location parameter to specify a layout, database, document, or window in which to duplicate the object. 
  3436. To navigate to a duplicated record or request, use the Go To event as in  go to (duplicate record 1).  
  3437. Examples
  3438. For AppleScript users:
  3439.  tell application "FileMaker Pro"
  3440.     duplicate record 2
  3441.     duplicate record 2 of window "NameOfWindow"
  3442.     duplicate record 1 to database 1
  3443.     duplicate record 2 to document 1
  3444.     duplicate request 1
  3445.     duplicate menu item "Reports" to menu item "Business Plan"
  3446.  end tell
  3447. For Frontier users:
  3448.  with FileMaker
  3449.      duplicate(record[1],insertionLoc(la
  3450. fst,window[1]))
  3451.  with FileMaker
  3452.      duplicate(window["NameOfWindow"].record[1]
  3453.                                      ,insertionLoc(last,window["NameOfWindow"]))
  3454.  with FileMaker
  3455.      duplicate(window[2].record[1],insertionLoc(last,window[2]))
  3456. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  3457. s    Duplicatet
  3458. Duplicateu
  3459. Eventv
  3460. kAEMiscStandardsZ
  3461. 'misc'\
  3462. kAEEndTransaction]
  3463. 'endt'fZEnds the indicated transaction, allowing other applications to manipulate the database.  
  3464. Request to end a transactionh
  3465. End Transaction
  3466. end transaction
  3467. What can I do with it?
  3468. Use the End Transaction event to conclude a transaction that was begun with the Begin (or With) Transaction statement.
  3469. Most users will probably not need to use this feature. But in a group setting, where multiple users may have multiple transactions going simultaneously, and each one expects the database to be in a certain state, it can be a useful event. 
  3470. In order to end a transaction, the transaction ID of that transaction must be provided as an attribute of the 
  3471. menuH
  3472. navigatesQ
  3473. navigates
  3474. objectQ
  3475. noteS
  3476. numberD
  3477. objectB
  3478. objectsC
  3479. onlyS
  3480. openP
  3481. filemaker
  3482. database
  3483. using
  3484. specificationP
  3485. opensR
  3486. opens
  3487. indicated
  3488. documentsT
  3489. opens
  3490. indicated
  3491. objectsR
  3492. operationsS
  3493. performI
  3494. perform
  3495. filemaker
  3496. using
  3497. current
  3498. requesN
  3499. perform
  3500. filemaker
  3501. scriptI
  3502. performsS
  3503. performs
  3504. startup
  3505. operations
  3506. filemaker
  3507. findS
  3508. printsU
  3509. prints
  3510. indicated
  3511. filesU
  3512. prints
  3513. indicated
  3514. objectsV
  3515. propertiesB
  3516. quitsW
  3517. quits
  3518. filemaker
  3519. requestA
  3520. request
  3521. begin
  3522. transactionA
  3523. request
  3524. transactionK
  3525. requestsB
  3526. requests
  3527. about
  3528. events
  3529. suiteL
  3530. requests
  3531. about
  3532. properties
  3533. elements
  3534. indicB
  3535. savesX
  3536. sendS
  3537. shouldS
  3538. sizeF
  3539. specificationP
  3540. specifiedD
  3541. duplicate
  3542. anameE
  3543. anotherD
  3544. appbesttypeY
  3545. appclassY
  3546. appdefaulttypeY
  3547. appearH
  3548. appearsE
  3549. appinfoS
  3550. applS
  3551. appleA
  3552. appleeventB
  3553. applescriptA
  3554. appletI
  3555. applicationA
  3556. applicationsE
  3557. appliesa
  3558. applyY
  3559. appnameY
  3560. appversionY
  3561. availableH
  3562. avoidI
  3563. backgroundE
  3564. basedO
  3565. battersR
  3566. battery-operatedX
  3567. becauseI
  3568. becomeA
  3569. beenE
  3570. beforeA
  3571. requestD
  3572. requestsA
  3573. requireR
  3574. requiredL
  3575. requiresQ
  3576. resizableg
  3577. resolvedH
  3578. resourceP
  3579. respectivelyL
  3580. respondE
  3581. restoreI
  3582. restoresI
  3583. restrict_
  3584. resultO
  3585. resultsJ
  3586. retrieveF
  3587. retrieved_
  3588. retrievesf
  3589. returnB
  3590. returnedA
  3591. returnsA
  3592. rfxd]
  3593. rootA
  3594. routineI
  3595. rowsQ
  3596. rsgl]
  3597. runningI
  3598. salaryO
  3599. aneouslyA
  3600. sinceF
  3601. singleO
  3602. sizeF
  3603. someE
  3604. sometimesD
  3605. sortsI
  3606. soundsO
  3607. specifiedL
  3608. specifierC
  3609. specifyE
  3610. specifyingE
  3611. stateA
  3612. statementA
  3613. storeO
  3614. storesF
  3615. stringE
  3616. string4H
  3617. styleH
  3618. submenuE
  3619. End Transaction event, not as a parameter. When a transaction is ended, FileMaker Pro allows other applications to manipulate the database, processing Apple events in the order in which they are received.
  3620. Examples
  3621. For AppleScript users:
  3622. tell application "FileMaker Pro"
  3623.     set i to 1
  3624.     with transaction
  3625.         repeat
  3626.             set cell 1 to i
  3627.             set i to i + 1
  3628.         end repeat
  3629.     end 
  3630. end tell
  3631. Note: After compiling this script, the "end" statement following "end repeat" will become "end transaction". The scri
  3632. pt will be functional in this form, but before the script will successfully recompile after any additional edits, the word "transaction" must be deleted.
  3633. For Frontier users:  
  3634.  with FileMaker
  3635.    endTransaction(transactionID)
  3636. Note: You will need Frontier 2.1 or later to use this functionality.
  3637. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  3638. End Transactiont
  3639. End Transactionu
  3640. Eventv
  3641. kAECoreSuiteZ
  3642. 'core'\
  3643. kAEGetEventInfo]
  3644. 'gtei'^
  3645. keyDirectObject_
  3646. typeType`
  3647.  a&The event class (suite) which to queryb
  3648. keyAEResultc
  3649. typeEventInfod
  3650. The requested informationf
  3651. Returns an Apple event record of type typeEventInfo.  The data in this record correspond to the information in the 'aete' resource of FileMaker Pro.g*Requests info about the events in a suite.h
  3652. Event Infok
  3653. '----'l
  3654. '----'
  3655. -A=event info <event class>
  3656. event info "core"
  3657. event info "FMPR"
  3658. transactionK
  3659. eventL
  3660. event
  3661. infoL
  3662. exists
  3663. filesU
  3664. dataO
  3665. geturl
  3666. infoB
  3667. menuH
  3668. objectsV
  3669. applicationS
  3670. documentsT
  3671. printU
  3672. print
  3673. filesU
  3674. print
  3675. objectsV
  3676. scriptI
  3677. datae
  3678. sizeF
  3679. transactionA
  3680. orderz
  3681. orderz
  3682. afterQ
  3683. aliasR
  3684. applicationS
  3685. battersU
  3686. beginA
  3687. begin
  3688. transactionA
  3689. brendane
  3690. catalogP
  3691. cellQ
  3692. checkede
  3693. clarisP
  3694. classB
  3695. class
  3696. object
  3697. classB
  3698. class
  3699. windowB
  3700. closeC
  3701. close
  3702. database
  3703. named
  3704. sales
  3705. reportsC
  3706. close
  3707. object
  3708. specifierC
  3709. close
  3710. window
  3711. contactsN
  3712. containerD
  3713. coreL
  3714. countD
  3715. What can I do with it?
  3716. Use the Event Info event to retrieve a list of events belonging to the specified class, with detailed information about the events, including parameters, reply parameters, IDs, and so forth.
  3717. The syntax for the Event Info event is very simple to use. All you need to provide is a class name. FileMaker has six classes of events: Core, Miscellaneous, Required, Database, FileMaker Pro, and URL. They are abbreviated as core, misc, aevt, DATA, FMPR, and GURL respectively, 
  3718. for use with FileMaker Pro. 
  3719. The list Event Info returns is geared to a technical audience. Most end-users, particularly AppleScript users, will not need to access the information contained in Event Info. 
  3720. Examples
  3721. For AppleScript users:
  3722. To get information about:                      You can say:
  3723. core suite events                  event info "core"
  3724. miscellaneous suite events         event info "misc"
  3725. required suite events              event info "aev
  3726. database suite events              event info "DATA" 
  3727. FileMaker Pro suite events         event info "FMPR"
  3728. URL suite events                   event info "GURL" 
  3729. For Frontier users:
  3730. Before using the FileMaker table in Userland Frontier to do a getEventInfo, edit the eventInfo Frontier verb so that it reads as follows.
  3731. on eventInfo(suite,humanLanguage)
  3732.   appleEvent(FileMaker.ID,'core','gtei','----',suite,'wrcd',humanLanguage)
  3733. where humanLanguage is calculated using a new script adde
  3734. d to the FileMaker table in Frontier called  makeWritingCode; for example,
  3735. on makeWritingCode(scriptCode, langCode)
  3736.   local(writingCode)
  3737.   writingCode = binary(short(scriptCode))+binary(short(langCode))
  3738.   setBinaryType(@writingCode,
  3739.   return(writingCode)
  3740. To get event info you can use the following:
  3741.  with FileMaker
  3742.    eventInfo('core',makeWritingCode(0,0))        -- returns information about the 
  3743.                                                     core suite events supported by
  3744.                                                   FileMaker Pro
  3745.    eventInfo('misc',makeWritingCode(0,0))        -- returns information about the 
  3746.                                                     miscellaneous suite events
  3747.                                                     supported by FileMaker Pro
  3748.    eventInfo('aevt',makeWritingCode(0,0))        -- returns information about the 
  3749.                                                     required suite events 
  3750.                                
  3751.                      supported by FileMaker Pro
  3752.    eventInfo('DATA',makeWritingCode(0,0))        -- returns information about the 
  3753.                                                     database suite events
  3754.                                                     supported by FileMaker Pro
  3755.    eventInfo('FMPR',makeWritingCode(0,0))        -- returns information about the 
  3756.                                                     FileMaker Pro suite events
  3757.                                                 
  3758. {    supported by FileMaker Pro
  3759.    eventInfo('GURL',makeWritingCode(0,0))        -- returns information about the 
  3760.                                                     URL suite events
  3761.                                                     supported by FileMaker Pro
  3762. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  3763. Event Infot
  3764. Event Infou
  3765. Eventv
  3766. kAECoreSuiteZ
  3767. 'core'\
  3768. kAEDoObjectsExist]
  3769. 'doex'^
  3770. keyDirectObject_
  3771. typeObjectSpecifier`
  3772. The objects to be foundb
  3773. keyAEResultc
  3774. typeBooleand
  3775. alias
  3776. printedU
  3777. alias
  3778. record
  3779. openedT
  3780. container
  3781. objectD
  3782. element
  3783. class
  3784. countD
  3785. element
  3786. class
  3787. createE
  3788. event
  3789. class
  3790. suite
  3791. which
  3792. queryL
  3793. fields
  3794. which
  3795. sortz
  3796. bject
  3797. closeC
  3798. object
  3799. duplicateJ
  3800. object
  3801. whose
  3802. desiredF
  3803. objects
  3804. deletedG
  3805. script
  3806. performedI
  3807. typeF
  3808. whereJ
  3809. where
  3810. place
  3811. duplicateJ
  3812. whichL
  3813. whoseF
  3814. keyaeresult
  3815. typeclassinfo
  3816. typelonginteger
  3817. typeobjectspecifier
  3818. dataF
  3819. elementE
  3820. elementsD
  3821. informationB
  3822. numberD
  3823. objectE
  3824. objectsJ
  3825. requestedB
  3826. sizeF
  3827. specifierE
  3828. specifiersJ
  3829. number
  3830. elementsD
  3831. object
  3832. specifier
  3833. elementE
  3834. object
  3835. specifiers
  3836. objectsJ
  3837. initial
  3838. element's
  3839. propertiesE
  3840. initial
  3841. elementE
  3842. layout
  3843. which
  3844. display
  3845. resultsz
  3846. location
  3847. elementE
  3848. performedH
  3849. datae
  3850. object
  3851. class
  3852. queryB
  3853. object
  3854. whose
  3855. desiredO
  3856. object
  3857. openedR
  3858. object
  3859. printedV
  3860. object
  3861. savedX
  3862. object
  3863. closeC
  3864. object
  3865. duplicateJ
  3866. object
  3867. navigate
  3868. object
  3869. whose
  3870. desiredF
  3871. object
  3872. whose
  3873. objects
  3874. deletedG
  3875. objects
  3876. foundM
  3877. objects
  3878. showf
  3879. order
  3880. which
  3881. sortz
  3882. script
  3883. performedI
  3884. specification
  3885. filemaker
  3886. databaseP
  3887. window
  3888. which
  3889. group
  3890. recordsN
  3891. uestedB
  3892. sizeF
  3893. specifierE
  3894. specifiersJ
  3895. number
  3896. elementsD
  3897. object
  3898. specifier
  3899. elementE
  3900. object
  3901. specifiers
  3902. objectsJ
  3903. waituntilreadyI
  3904. wantF
  3905. web-browserP
  3906. wereU
  3907. switchedG
  3908. symbolf
  3909. symbolsf
  3910. synonyms\
  3911. syntaxB
  3912. systemQ
  3913. tableA
  3914. tables_
  3915. takesZ
  3916. targetQ
  3917. tcp/ipP
  3918. technicalB
  3919. tellA
  3920. application
  3921. filemaker
  3922. tellsS
  3923. tempe
  3924. temporary[
  3925. terminologyf
  3926. testC
  3927. testfile\
  3928. textF
  3929. thanQ
  3930. thatA
  3931. event
  3932. three
  3933. componentsz
  3934. syntax
  3935. print
  3936. event
  3937. simple
  3938. usingB
  3939. valueF
  3940. valuesM
  3941. verbB
  3942. verbsE
  3943. versionE
  3944. veryB
  3945. TRUE if the object exists
  3946. Returns true if the indicated object exists, false otherwise.
  3947. Note:  This event is not intended to locate null or empty values.  In other words, "name of record 1" will return true because records do have the name property, even though all records have empty values for their names.
  3948. Asks if a given object existsh
  3949. Existsk
  3950. '----'l
  3951. '----'
  3952. -A9<object specifier> exists
  3953. layout 0 exists
  3954. field 2 exists
  3955. What can I do with it?
  3956. Use the Exists event to make sure the objects you want to work with are in fact available to you. The Exists event works with all FileMaker Pro objects.
  3957. Exists won't locate empty values. For example, "name of record 1 exists" returns true, since the property exists, even though the name is blank (because FileMaker Pro records do not have names).
  3958. Examples
  3959. For AppleScript users:
  3960.  Filemaker script "Go to Help" exists
  3961.  record 100 exists
  3962.  exists window 1
  3963. tell applicat
  3964. Gion "FileMaker Pro"
  3965.     if exists window "Contacts" = false then
  3966.         open file "Contacts"
  3967.     end if
  3968. end tell
  3969. For Frontier users:
  3970.  with FileMaker
  3971.    exists(record[1])
  3972.    exists(FileMakerScript[1])
  3973.    exists(window[1])
  3974. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  3975. Existst    
  3976. Existsu
  3977. Eventv
  3978. kAEFileMakerZ
  3979. 'FMPR'\
  3980. kAEFind]
  3981. 'FIND'^
  3982. keyDirectObject_
  3983. typeObjectSpecifiera.The window in which to find a group of recordsf
  3984. The Find event finds a group of records specified in the current set of find requests. You can specify search criteria using the Create or Set Data events with the Request object.g>Perform a FileMaker Pro find using the current set of requestsh
  3985. Findk
  3986. '----'
  3987. -ADfind <window object specifier>
  3988. find window 1
  3989. find window "Contacts"
  3990. kaedoscript
  3991. kaeendtransaction
  3992. kaefind
  3993. kaegetclassinfo
  3994. kaegetdata
  3995. kaegetdatasize
  3996. kaegeteventinfo
  3997. kaegeturl
  3998. kaegoto
  3999. kaemakeobjectvisible
  4000. kaeopen
  4001. kaeopenapplication
  4002. kaeopendocuments
  4003. kaeprint
  4004. kaeprintdocuments
  4005. kaequitapplication
  4006. kaesave
  4007. kaesetdata
  4008. kaesort
  4009. keyaedata
  4010. keyaeinserthere
  4011. keyaeobjectclass
  4012. keyaepassword
  4013. keyaepropdata
  4014. keyaerequestedtype
  4015. keyaesortelement
  4016. keydirectobject
  4017. typeaelist
  4018. typeaerecord
  4019. typealias
  4020. typechar
  4021. typeinsertionloc
  4022. typeobjectspecifier
  4023. typetype
  4024. varies
  4025. order
  4026. preference
  4027. desired
  4028. typeF
  4029. password
  4030. fileR
  4031. aliasT
  4032. nameM
  4033. namesM
  4034. navigationQ
  4035. netscapeP
  4036. noteG
  4037. nullM
  4038. numberD
  4039. What can I do with it?
  4040. Use the Find event to perform the current set of find requests for a database.  To use the Find event simply specify the window to perform the find requests. If no window is specified, the Find event will work with the frontmost database.  Find requests can be created with the Create event and edited with the Set Data event.
  4041. Examples
  4042. For AppleScript users:
  4043. tell application "FileMaker Pro"
  4044.     delete every request
  4045.     create request 1
  4046.     set cell "State" of requestB
  4047.  1 to "CA"
  4048.     find
  4049. end tell
  4050. For Frontier users:  
  4051.  with FileMaker
  4052.    find(window[1])
  4053.    find(window["Contacts"])
  4054. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  4055. Findt
  4056. Findu
  4057. Eventv
  4058. kAECoreSuiteZ
  4059. 'core'
  4060. typeF
  4061. whereJ
  4062. where
  4063. place
  4064. duplicateJ
  4065. whichL
  4066. whoseF
  4067. windowN
  4068. withz
  4069. keyaeresult
  4070. typeaelist
  4071. typeboolean
  4072. typeclassinfo
  4073. typeeventinfo
  4074. typelonginteger
  4075. typeobjectspecifier
  4076. dataF
  4077. elementE
  4078. elementsD
  4079. existsM
  4080. informationB
  4081. numberD
  4082. objectE
  4083. objectsJ
  4084. requestedB
  4085. sizeF
  4086. specifierE
  4087. specifiersJ
  4088. number
  4089. elementsD
  4090. object
  4091. specifier
  4092. elementE
  4093. object
  4094. specifiers
  4095. objectsJ
  4096. requested
  4097. dataO
  4098. existingJ
  4099. existsM
  4100. faile
  4101. falseM
  4102. fieldsO
  4103. fileD
  4104. filemakerA
  4105. filemaker
  4106. supports
  4107. event
  4108. cmenu
  4109. cmenuitJ
  4110. filemaker
  4111. sorts
  4112. currently
  4113. found
  4114. recordsz
  4115. filemaker
  4116. supports
  4117. deletion
  4118. cmenu
  4119. cmenuitem
  4120. filemaker
  4121. supports
  4122. navigation
  4123. records
  4124. requests
  4125. cells
  4126. filenameP
  4127. findN
  4128. finderS
  4129. findsN
  4130. fmp3P
  4131. followingP
  4132. formatsP
  4133. foundz
  4134. fromA
  4135. getsF
  4136. indicated
  4137. object
  4138. specifiersO
  4139. bytes
  4140. indicated
  4141. object
  4142. geturlP
  4143. groupN
  4144. haveG
  4145. helperP
  4146. hiddenf
  4147. hostedP
  4148. hostnameP
  4149. indicatedF
  4150. informationB
  4151. insertionJ
  4152. insideS
  4153. inside
  4154. macintosh
  4155. volume
  4156. states
  4157. finder
  4158. should
  4159. instructf
  4160. manipulateK
  4161. menuH
  4162. minimizeA
  4163. theirM
  4164. theyA
  4165. thisB
  4166. thoughM
  4167. timeA
  4168. transactionsA
  4169. trueM
  4170. typeB
  4171. typeclassinfoB
  4172. typeeventinfoL
  4173. userG
  4174. usingN
  4175. validJ
  4176. valuesM
  4177. volumeS
  4178. whileA
  4179. willA
  4180. windowsC
  4181. withA
  4182. wordsM
  4183. xxxxG
  4184. aboutB
  4185. actionH
  4186. asksM
  4187. given
  4188. object
  4189. existsM
  4190. associatedH
  4191. beginA
  4192. classD
  4193. closesC
  4194. closes
  4195. indicated
  4196. objectsC
  4197. copyJ
  4198. countsD
  4199. counts
  4200. number
  4201. elements
  4202. indicated
  4203. class
  4204. createsE
  4205. creates
  4206. element
  4207. indicated
  4208. class
  4209. specifieE
  4210. currentN
  4211. dataF
  4212. databaseP
  4213. deletesG
  4214. deletes
  4215. specified
  4216. objectG
  4217. action
  4218. associated
  4219. itemH
  4220. documentsT
  4221. elementE
  4222. elementsB
  4223. eventS
  4224. eventsL
  4225. existsM
  4226. filemakerI
  4227. filesU
  4228. findN
  4229. finder@
  4230. specified
  4231. object@
  4232. indicated@
  4233. menu@
  4234. saves
  4235. indicated
  4236. objects@
  4237. startup@
  4238. transaction@
  4239. count
  4240. container
  4241. object
  4242. class
  4243. desired
  4244. class@
  4245. desired@
  4246. layout
  4247. named
  4248. field
  4249. sales
  4250. report@
  4251. field
  4252. field
  4253. field
  4254. direction
  4255. custom@
  4256. specifier@
  4257. database@
  4258. gray@
  4259. intended@
  4260. several@
  4261. support@
  4262. ional@
  4263. here@
  4264. hierarchy@
  4265. kaerequiredsuite@
  4266. make@
  4267. need@
  4268. parameter@
  4269. performance@
  4270. provided@
  4271. reasons@
  4272. request@
  4273. sales@
  4274. successfully@
  4275. switched@
  4276. thedata@
  4277. thereby@
  4278. print
  4279. event
  4280. print
  4281. filemaker
  4282. file@
  4283. waituntilready@
  4284. what@
  4285. word@
  4286. find@
  4287. info@
  4288. kAEGetData]
  4289. 'getd'^
  4290. keyDirectObject
  4291. keyAERequestedType_
  4292. typeObjectSpecifier
  4293. typeAEList`
  4294.  a#The object(s) whose data is desired
  4295. 3A list (in order of preference) of the desired typeb
  4296. keyAEResultc
  4297. typeAEListd
  4298. The requested data
  4299. Gets the data from the indicated object specifiers.  
  4300. If no requested type parameter is specified, the event will return the data as the default type for the object.
  4301. Note:  The user must have read access in order to get the data for layouts, records, fields, and cells.
  4302. g$Gets data from the specified object.h
  4303. Get Datak
  4304. '----'
  4305. 'rtyp'l
  4306. '----'
  4307. get data [of] <object specifier> as <desired data type>
  4308. get dataof  name of window 1
  4309. get data of name of every field of layout 0
  4310. get data of layout named "Field Sales Report"
  4311. What can I do with it?
  4312. Use the Get Data event to retrieve data from an object, like a cell. You can also request the data that is returned to be of a certain type, such as text, number, integer, or list.  The default result type for objects with multiple elements is list (eg. getting data from a field when there are multiple records). The result type for an object that returns a single value is text (eg. a single record with one field).
  4313. The Get Data event can be used to get data types suc
  4314. h as pictures and sounds from FileMaker Pro container fields.  When a picture has been imported into a container field using the "store a file reference" option, a file reference to the picture file will be returned. FileMaker Pro also allows you to set a file reference into a container field via Apple events.
  4315. Note: You must have read access in order to get the data for layouts, records, fields, and cells. Also, the word 'get' in AppleScript is always understood. Thus you could say  get d
  4316. ata record 1,  or simply  record 1.
  4317. Examples
  4318. For AppleScript users:
  4319. If you want to get data from:                   You can say: 
  4320. all fields from the local file             every field of layout 0
  4321. all fields from the local file as text     every field of layout 0 as text 
  4322. a field on the last record                 cell "Last Name" of last record
  4323. cell "Salary" of the first record          cell "Salary" 
  4324. a range of records                     
  4325.     records 1 through 4 as text
  4326. record based on relative position          record after record 1
  4327. record based on relative position          record before record 3
  4328. the first record                           first record
  4329. the last record                            last record
  4330. the middle record                          middle record
  4331. a random record                            some record
  4332. records matching certain criteria          every record whose cell 1 = "findMe"
  4333. (Other operators that are a
  4334. vailable for use with the "whose" clause are,  
  4335. , <, >, AND , OR, NOT, begins with, ends with, contains.)
  4336. For Frontier users:  
  4337. To use relative keyforms in Frontier add two string4 constants to the FileMaker table:  
  4338. next = 'next' and previous = 'prev'.
  4339.  with FileMaker
  4340.    get(record[1])
  4341.    getAs(record[1],'TEXT')
  4342.    get(field[1])
  4343.    getAs(field[1],'TEXT')
  4344.    get(record[1].cell[1])
  4345.    getAs(cell[1],'PICT')
  4346.    getAs(document[1].record[2].record[next],'TEXT')       -- record after re
  4347. cord 2
  4348.    getAs(document[1].record[2].record[previous],'TEXT')   -- record before record 2
  4349.    get(window[1].record[cell[1] = "criteria"])            -- does a whose
  4350.    getAs(window[1].record[cell[1] = "findMe"],'TEXT')     -- does a whose
  4351. (Other operators that are available for use with the whose clause are,  
  4352. , <, >, AND , OR, NOT, Begins with, Ends with, Contains.)
  4353. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  4354. Get Datat
  4355. Get Datau
  4356. Eventv
  4357. kAEURLZ
  4358. 'GURL'\    kAEGetURL]
  4359. 'GURL'^
  4360. keyDirectObject_
  4361. typeChar`
  4362.  a5The URL specification for the FileMaker Pro database.
  4363. classB
  4364. closeC
  4365. containerD
  4366. countD
  4367. createE
  4368. dataE
  4369. databaseP
  4370. deletedG
  4371. desiredF
  4372. displayz
  4373. duplicateJ
  4374. elementD
  4375. element'sE
  4376. eventL
  4377. fieldsz
  4378. fileR
  4379. filemakerP
  4380. findN
  4381. foundM
  4382. groupN
  4383. initialE
  4384. itemH
  4385. layoutz
  4386. listF
  4387. locationE
  4388. menuH
  4389. navigateQ
  4390. objectB
  4391. objectsG
  4392. openedR
  4393. orderF
  4394. passwordR
  4395. performedH
  4396. placeJ
  4397. preferenceF
  4398. printedU
  4399. propertiesE
  4400. specified
  4401. objectO
  4402. specified
  4403. objectF
  4404. givenM
  4405. layout
  4406. named
  4407. field
  4408. sales
  4409. reportO
  4410. every
  4411. field
  4412. layout
  4413. object
  4414. specifier
  4415. desired
  4416. typeO
  4417. dataof
  4418. window
  4419. geturlP
  4420. geturl
  4421. claris
  4422. product
  4423. catalogP
  4424. geturl
  4425. stringP
  4426. geturl
  4427. claris
  4428. product
  4429. catalogP
  4430. record
  4431. recordQ
  4432. layout
  4433. entryQ
  4434. object
  4435. specifierQ
  4436. record
  4437. after
  4438. current
  4439. recordQ
  4440. infoB
  4441. initialE
  4442. insertionE
  4443. itemH
  4444. lastG
  4445. layoutD
  4446. layout
  4447. existsM
  4448. locationE
  4449. macintoshU
  4450. mainf
  4451. mccarthyf
  4452. menuH
  4453. menuiteme
  4454. monthlyz
  4455. nameF
  4456. namedC
  4457. objectB
  4458. object
  4459. specifier
  4460. existsM
  4461. thedataE
  4462. their`
  4463. thenI
  4464. theobjectY
  4465. thepasswordT
  4466. thepropertyY
  4467. thereE
  4468. transactionA
  4469. transactionidK
  4470. transactionsA
  4471. transferringQ
  4472. triggerH
  4473. trueE
  4474. typeO
  4475. typesO
  4476. unableI
  4477. understandingD
  4478. understoodB
  4479. universalP
  4480. unlessR
  4481. untilG
  4482. script
  4483. event
  4484. trigger
  4485. script
  4486. filemakerI
  4487. transaction
  4488. event
  4489. conclude
  4490. transaction
  4491. thatK
  4492. event
  4493. databases
  4494. documentsR
  4495. usedG
  4496. usefulA
  4497. userB
  4498. user-definedE
  4499. userlandL
  4500. usersA
  4501. usingB
  4502. valueF
  4503. valuesM
  4504. verbB
  4505. verbsE
  4506. versionE
  4507. veryB
  4508. salesC
  4509. sameR
  4510. saveX
  4511. savedX
  4512. savesX
  4513. screen^
  4514. scriptA
  4515. scriptcodeB
  4516. scriptmakerI
  4517. scriptsD
  4518. searchP
  4519. secondG
  4520. secondsI
  4521. sectionR
  4522. securityH
  4523. selectQ
  4524. selectedE
  4525. sendI
  4526. sendingI
  4527. senseX
  4528. sentS
  4529. separatedZ
  4530. separators`
  4531. seriesW
  4532. session\
  4533. setbinarytypeB
  4534. settingA
  4535. setupsI
  4536. severalE
  4537. sharedZ
  4538. shirtX
  4539. shortB
  4540. shouldS
  4541. showZ
  4542. showingB
  4543. showsY
  4544. similarlyZ
  4545. simpleB
  4546. simplyB
  4547. simultaneouslyA
  4548. sinceF
  4549. singleO
  4550. sizeF
  4551. small`
  4552. smithY
  4553. Send this event from an Internet helper application to FileMaker Pro. Databases hosted with TCP/IP can be specified using any of the following formats:
  4554.   "FMP3://[hostname]/filename"
  4555.   "<FMP3://[hostname]/filename>"
  4556.   "URL:FMP3://[hostname]/filename"
  4557.   "<URL:FMP3://[hostname]/filename>"
  4558. Before sending the GetURL event, make sure to register FileMaker Pro with the application using the syntax
  4559. tell application "Netscape"
  4560.      register protocol "FMP3" for protocol "FMP3"
  4561. end tell
  4562. g7Open a FileMaker Pro database using a URL specificationh
  4563. GetURLk
  4564. '----'
  4565. getURL  <string>
  4566. getURL "FMP3://[Claris.Com]/Product Catalog"
  4567. getURL "<FMP3://[Claris.Com]/Product Catalog>"
  4568. getURL "URL:FMP3://[Claris.Com]/Product Catalog"
  4569. getURL "<URL:FMP3://[Claris.Com]/Product Catalog>"
  4570. What can I do with it?
  4571. Use the GetURL event to open a FileMaker Pro database over the Internet using a Web-browser application such as Netscape
  4572. . The GetURL event from the URL suite allows Internet helper applications to open files specified with the Universal Resource Locator  (URL) syntax.
  4573. To use the GetURL event, first make sure to register FileMaker Pro as a protocol with the helper application using the following syntax. Note that you only need to register the application once.
  4574.  application "Netscape"
  4575.    register protocol "FMP3" for protocol "FMP3"
  4576. end tell
  4577. Next send the GetURL event from the Internet helper application to FileMaker Pro. The GetURL event accepts a string representing a URL for a FileMaker Pro database that has been hosted with TCP/IP.  To enable TCP/IP networking, set the general preference for the TCP/IP protocol on both the guest and host.
  4578. Databases can be specified using any of the following forms, where hostname is the IP address or domain 
  4579. name of the machine hosting the FileMaker Pro database and filename is the name of the database:
  4580.      "FMP3://[hostname]/filename"
  4581.      "<FMP3://[hostname]/filename>"
  4582.      "URL:FMP3://[hostname]/filename"
  4583.      "<URL:FMP3://[hostname]/filename>"
  4584. If the hostname is empty or specified with an asterisk (*), FileMaker Pro will search the local zone for the file.
  4585. Examples
  4586. For AppleScript users:
  4587. tell application "FileMaker Pro"
  4588.     getURL "FMP3://claris.com/Product Catalog.FP3"
  4589.     getURL "FMP3://1
  4590. 99.99.99.99/Product Catalog.FP3"
  4591. end tell
  4592. For Netscape users:
  4593. Create an HTML document with the following syntax:
  4594. <A HREF="FMP3://claris.com/Product Catalog.FP3"> Click here to open the Products Catalog database</A>
  4595. Note that the file "Product Catalog.FP3", the address 199.99.99.99, and the domain name claris.com are merely examples. Replace the file name with the name of the database you wish to access and make sure the IP address or domain name refers to the machine hosting the databaE
  4596. GetURLt    
  4597. GetURLu
  4598. Eventv
  4599. kAEFileMakerZ
  4600. 'FMPR'\
  4601. kAEGoto]
  4602. 'GOTO'^
  4603. keyDirectObject_
  4604. typeObjectSpecifier`
  4605. The object to navigate to
  4606. -FileMaker Pro supports navigation of records, requests, cells, layouts, windows, databases, and documents. 
  4607. Performing a Go To event while a database is in Preview mode or Layout mode will switch the database to Browse mode. Using the Go To event with a request will switch the database to Find mode.
  4608. Navigates to an objecth
  4609. Go Tok
  4610. '----'
  4611. go to <object specifier>
  4612. go to layout "Data Entry"
  4613. go to last record
  4614. go to cell 1 of record 5
  4615. go to record after (current record) 
  4616. hereI
  4617. alternatives
  4618. using
  4619. print
  4620. eventV
  4621. hiddenf
  4622. hidese
  4623. hierarchical`
  4624. htmlP
  4625. humanlanguageB
  4626. hypercardE
  4627. ignoreD
  4628. implementI
  4629. importI
  4630. importantD
  4631. importedO
  4632. includeD
  4633. includedD
  4634. includingL
  4635. indexH
  4636. infoB
  4637. informationB
  4638. initialE
  4639. insertionlocJ
  4640. insertlocE
  4641. installedA
  4642. instanceQ
  4643. insteadS
  4644. integerO
  4645. internetP
  4646. intlB
  4647. intoO
  4648. involvedI
  4649. it'sU
  4650. itemB
  4651. itemsD
  4652. fmp3P
  4653. fmprL
  4654. folderS
  4655. folder1g
  4656. tella
  4657. end-usersB
  4658. endedK
  4659. endsG
  4660. endtransactionK
  4661. enterE
  4662. entireE
  4663. entryH
  4664. equalf
  4665. equalsf
  4666. equivalentV
  4667. erraewritedeniede
  4668. errnumI
  4669. errorI
  4670. evaluate\
  4671. evaluating[
  4672. evenM
  4673. eventA
  4674. eventinfoL
  4675. eventsE
  4676. everyF
  4677. exactf
  4678. exactlyB
  4679. examineZ
  4680. exampleB
  4681. examplesA
  4682. existsM
  4683. exitX
  4684. expectsA
  4685. extensionT
  4686. externalE
  4687. factM
  4688. faile
  4689. falseM
  4690. fasterE
  4691. featureA
  4692. featuresI
  4693. What can I do with it?
  4694. The Go To event allows you to navigate to FileMaker Pro objects such as databases, layouts, records, and cells. For instance, the Go To event can be used to tab into a field. 
  4695. The Go To event will work on the following objects: Window, Document, Database, Layout, Record, Request, and Cell. The object must already be open or available; so it may be necessary to open a window, document or database before navigating to something within it.  
  4696. The Go To event can be use
  4697. d to copy and paste the contents of a field. When copying or cutting from fields it is first necessary to have something selected. This can be accomplished with the Do Menu event (for example  do menu menu item "Select All" of menu "Edit").  Note that it is not necessary to perform a Select All for container fields - merely going to the field will select it. 
  4698. Also note that when transferring information between applications via the clipboard, the Macintosh Operating System requires that y
  4699. ou activate the source and target applications.  This can be done in AppleScript using the "activate" command directed at the application before performing a cut, copy, or paste.
  4700. Note: 
  4701. - Performing a Go To event while a database is in Preview mode or Layout mode will switch the database to Browse mode. Using the Go To event with a request will switch the database to Find mode.
  4702. - FileMaker Pro does not support navigation to rows within portals or repetitions within repeating fields other
  4703.  than the first row or repetition.
  4704. Examples
  4705. For AppleScript users:
  4706. If you want to:                                         You can say:
  4707. move to the first record          go to record 1
  4708. create and select a record        go to (create record)
  4709. go to the next record            go to record after current record
  4710. go to the previous record         go to record before current record
  4711. switch to another open window     go to window 2
  4712. display a different layout        go to 
  4713. layout "Sales Summary"
  4714. go to the next layout            go to layout after current layout
  4715. go to the previous layout         go to layout before current layout
  4716. tab into a field                  go to cell 1 of record 1
  4717. display a find request            go to request 5
  4718. The following example copies a picture from a field on one record and pastes it into a field on another record.
  4719. tell application "FileMaker Pro"
  4720.    activate
  4721.    go to cell "Contact Name" of record 1
  4722.    do menu menu item "Select 
  4723. All" of menu "Edit"
  4724.    copy
  4725.    go to cell "Contact Name" of record 2
  4726.    paste
  4727. For Frontier users:
  4728. If you want to:                                         You can say:
  4729.                                                                  with FileMaker
  4730. display the first record          go to(record[1])
  4731. display a different layout        go to(Layout[2])
  4732. move to the first record          go to(record[1])
  4733. switch to another open window     go to(window[2])
  4734. displ
  4735. Uay a different layout        go to(layout["Sales Summary"])
  4736. tab into a field                  go to(record[1].cell[1])
  4737.                                                     
  4738.                                                     
  4739. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  4740. Go Tot
  4741. Go Tou
  4742. Eventv
  4743. kAECoreSuiteZ
  4744. 'core'\
  4745. kAEOpen]
  4746. 'odoc'^
  4747. keyDirectObject
  4748. keyAEPassword_
  4749. typeObjectSpecifier
  4750. typeChar`
  4751. The object to be opened.
  4752. A password for the file.g
  4753. Opens the indicated objects.h
  4754. Openk
  4755. '----'
  4756. 'pPAS'
  4757. modeQ
  4758. mustA
  4759. -A5open <alias>
  4760. open <alias> with password "thePassword"
  4761. What can I do with it?
  4762. Use the Open event to open databases or documents. 
  4763. The syntax for the Open event is very simple to use. All you need to provide is an alias, like "Macintosh HD:Addresses". 
  4764. You can open files that require passwords by including a password as a parameter to the Open event. You can even open more than one password protected file at a time by providing a list of passwords with your list of files. If all files have the same password, you can include that one password,
  4765.  and FileMaker Pro will use it when opening each of the files you specify. You can also open files with a blank password by specifying an empty string. If a database has a blank password using the Open event will automatically use that password when opening unless a specific password is supplied.
  4766. There are some technical differences between the Open Document event and the Open event.  See the FileMaker Objects layout for further information.
  4767. Note:  Use the Open File syntax from AppleScri
  4768. pt when attempting to open a single file.  When opening multiple files, use the simple Open event.  See examples in the AppleScript users section below.
  4769. Examples
  4770. For AppleScript users:
  4771. If you want to:                                                    You can say:
  4772. open a single file                      open file "Hard Disk:Databases:Addresses"
  4773. open a file with a password             open file "Batters" with password "admin"
  4774. open multiple files with same password  open 
  4775. {"Batters", "Pitchers"} with password 
  4776.                                           {"admin"}
  4777. open multiple files with different passwords  open {"Batters", "Pitchers"} with 
  4778.                                                  password {"admin", "guest"}
  4779. open a file with a blank password       open file "Compact Discs" with password ""
  4780. For Frontier users:
  4781.  with FileMaker
  4782.     openDocument("alias")
  4783. To open a password protected database using Frontier add the following script to the FileMaker t
  4784. oable:
  4785.   on openDocPassword(alias,password)
  4786.       return(appleEvent(FileMaker.ID,kAERequiredSuite,kAEOpenDocuments,
  4787.                                                   '----',alias(file),password))
  4788.  with FileMaker
  4789.     openDocPassword("alias","password")
  4790. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  4791. Opent
  4792. Openu
  4793. Eventv
  4794. kAERequiredSuiteZ
  4795. 'aevt'\
  4796. kAEOpenApplication]
  4797. 'oapp'fyInside Macintosh Volume VI states that only Finder should send this event.  FileMaker Pro will not listen to anyone else.gYPerforms startup operations for FileMaker Pro.  Note: Only Finder should send this event.h
  4798. Open Application
  4799. open application
  4800. What can I do with it?
  4801. Use the Open Application event to launch FileMaker Pro from the Finder. It also tells the Finder to launch other applications that support the Open Application event.
  4802. Since the Finder is the only application that is supposed to launch other applications, FileMaker Pro will only respond to this event when it is sent from the Finder.  If you wish to have FileMaker Pro open other applications you should use the launch application syntax instead of open application.  Se
  4803. discsR
  4804. diskR
  4805. displayQ
  4806. displayedz
  4807. distinguish[
  4808. edita
  4809. docsE
  4810. docu\
  4811. documentB
  4812. kaerequiredsuiteR
  4813. keepE
  4814. keyformsO
  4815. kind_
  4816. knownD
  4817. langcodeB
  4818. lastE
  4819. laterK
  4820. launchS
  4821. layoutB
  4822. layout-specific_
  4823. layoutsD
  4824. leaste
  4825. leavingX
  4826. lengthenI
  4827. lessX
  4828. lesserf
  4829. letsB
  4830. levelz
  4831. likeE
  4832. lineE
  4833. listB
  4834. lists_
  4835. localB
  4836. locateM
  4837. locationE
  4838. locatorP
  4839. lockZ
  4840. looksB
  4841. lookupf
  4842. machineP
  4843. macintoshQ
  4844. macwriteS
  4845. mainY
  4846. miscH
  4847. miscellaneousL
  4848. modeG
  4849. modesH
  4850. moreB
  4851. mostA
  4852. users
  4853. probably
  4854. feature
  4855. moveQ
  4856. multipleA
  4857. mustA
  4858. mymenuE
  4859. mymenuitemH
  4860. nameB
  4861. namedG
  4862. nameofwindowC
  4863. namesB
  4864. navigateE
  4865. navigatingQ
  4866. navigationQ
  4867. necessaryQ
  4868. e examples below in the AppleScript users section.
  4869. Most AppleScript and Frontier users will not need to use this event.
  4870. To use Open Application you need to provide an object specifier, like "HD:Applications Folder:MacWrite Pro".
  4871. Examples
  4872. For AppleScript users:
  4873.  tell application "Finder"
  4874.     launch application "FileMaker Pro"
  4875.  end tell
  4876.  tell application "FileMaker Pro"
  4877.     launch application "ClarisWorks"
  4878.  end tell
  4879. For Frontier users:
  4880.   if !file.exists(FileMaker.appInfo.path)
  4881.    FileM
  4882. Kaker.appInfo.path = file.FindApplication(FileMaker.appInfo.path)
  4883.    if !file.getFileDialog("Where is FileMaker Pro"),@FileMaker.appInfo.path,'APPL')
  4884.         return (false)
  4885.  launch.application(FileMaker.appInfo.path)
  4886. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  4887. Open Applicationt
  4888. Open Applicationu
  4889. Eventv
  4890. kAERequiredSuiteZ
  4891. 'aevt'\
  4892. kAEOpenDocuments]
  4893. 'odoc'^
  4894. keyDirectObject_    typeAlias`
  4895.  a*The alias record of the file to be opened.f.Opens the indicated FileMaker Pro document.  
  4896. Opens the indicated documents.h
  4897. Open Documentsk
  4898. '----'
  4899. open <file alias>
  4900. What can I do with it?
  4901. Use the Open Documents command to open files you need to access data from. 
  4902. You must specify the path name.
  4903. There are some technical differences between the Open Document event and the Open event.  See the FileMaker Objects layout for further information.
  4904. Ordinarily, the best way to open files is to use the Open event, which is an extension to the Open Documents event.
  4905. Note:  You should use the Open File syntax from AppleScript when attempting to open a single fi
  4906. intendedM
  4907. internetP
  4908. itemJ
  4909. itemsJ
  4910. lackse
  4911. layoutD
  4912. layoutsD
  4913. likeA
  4914. listenS
  4915. locateM
  4916. locationJ
  4917. lockA
  4918. lockede
  4919. macintoshS
  4920. makeP
  4921. manipulateK
  4922. menuH
  4923. minimizeA
  4924. startupS
  4925. suiteL
  4926. thisS
  4927. transactionA
  4928. usingN
  4929. visiblef
  4930. withH
  4931. applicationS
  4932. beginA
  4933. begin
  4934. transactionA
  4935. classB
  4936. class
  4937. infoB
  4938. close
  4939. count
  4940. createE
  4941. create
  4942. dataF
  4943. sizeF
  4944. delete
  4945. menuH
  4946. scriptI
  4947. documentsT
  4948. duplicate
  4949. finderS
  4950. fromF
  4951. getsF
  4952. makeM
  4953. makesf
  4954. makewritingcodeB
  4955. manipulateK
  4956. manipulationE
  4957. manipulation-seeE
  4958. marka
  4959. masterZ
  4960. matchH
  4961. matchesG
  4962. matchingG
  4963. maximumZ
  4964. meaningY
  4965. mechanismF
  4966. meetingI
  4967. menuB
  4968. menu's`
  4969. menu2`
  4970. menuitemB
  4971. menusE
  4972. merelyP
  4973. middleO
  4974. mightg
  4975. mindE
  4976. miscH
  4977. miscellaneousL
  4978. modalg
  4979. modeG
  4980. modesH
  4981. modified\
  4982. monthlyz
  4983. moreB
  4984. mostA
  4985. users
  4986. probably
  4987. feature
  4988. moveQ
  4989. moviese
  4990. muchU
  4991. multipleA
  4992. mustA
  4993. namedG
  4994. nameofwindowC
  4995. namesB
  4996. navigateE
  4997. navigatingQ
  4998. navigationQ
  4999. neccessary[
  5000. necessaryQ
  5001. le.  When opening multiple files, use the simple Open event.  See examples in the AppleScript users section below.
  5002. Examples
  5003. For AppleScript users:
  5004.  tell application "FileMaker Pro"
  5005.     open file "Batters"
  5006.     open file "Pitchers" with password "thePassword"
  5007.  end tell
  5008. For Frontier users:
  5009. To open a file with a password using Frontier add the following Frontier script to the FileMaker Table:
  5010.  on openDocWithPassword(file,password)
  5011.     return(appleEvent(FileMaker.ID,kAERequiredSuite, kAEOpeC
  5012. nDocuments, '----', alias(file),'pPAS',password))
  5013.  with FileMaker
  5014.   openDocument("alias")
  5015.   openDocWithPassword("alias","thePassword")
  5016. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  5017. Open Documentst
  5018. Open Documentsu
  5019. Eventv
  5020. kAERequiredSuiteZ
  5021. 'aevt'\
  5022. kAEPrintDocuments]
  5023. 'pdoc'^
  5024. keyDirectObject_    typeAlias`
  5025.  a$The alias of the file to be printed.f,Prints the indicated FileMaker Pro document.g
  5026. Prints the indicated files.h
  5027. Print (files)k
  5028. '----'
  5029. -A=print alias <file alias>
  5030. print alias "Macintosh HD:Batters"
  5031. What can I do with it?
  5032. Use the Print event to print files, just as if you had selected the Print command from the File menu. 
  5033. You can use the Print event to print files that are not already open. However, the files will be closed once the Print event is completed.  Files that were already open when the Print event was sent will remain open.
  5034. This Print event is part of the Required Suite, and is an extension of the Print event found in the Core suite.
  5035. The following are the objects the Pr
  5036. therebyE
  5037. thereforeX
  5038. thesef
  5039. theyE
  5040. things\
  5041. thirdg
  5042. thisA
  5043. thoseG
  5044. thoughM
  5045. threez
  5046. throughF
  5047. thusB
  5048. timeE
  5049. timeoutI
  5050. timeoutsI
  5051. timesg
  5052. titleg
  5053. today'sf
  5054. topmostZ
  5055. transactionA
  5056. transactionidK
  5057. transactionsA
  5058. transferringQ
  5059. treatse
  5060. triggerH
  5061. trueE
  5062. typeO
  5063. typedX
  5064. typesO
  5065. typically]
  5066. unableI
  5067. under`
  5068. understandingD
  5069. understoodB
  5070. uniqueZ
  5071. universalP
  5072. unlessR
  5073. unlike\
  5074. unlockedZ
  5075. unsortz
  5076. untilG
  5077. updateZ
  5078. field
  5079. object
  5080. manipulate
  5081. across
  5082. records
  5083. event
  5084. databases
  5085. documentsR
  5086. int event will work with:
  5087.  Windows
  5088.  Documents
  5089.  Databases
  5090. To use the Print event you must provide an alias to the object to be printed. An alias is much like an object specifier, for example "HD:Documents:Sales Report".
  5091. Note:  It's best not to use the Print event when a FileMaker Pro script can be created and called, since the print dialog cannot be suppressed when the Print event is used.  In addition, using a FileMaker Pro script will allow the file to remain open if required. 
  5092. Example
  5093. For AppleScript users:
  5094.  tell application "FileMaker Pro"
  5095.       print alias "Macintosh HD:Batters"
  5096.  end tell
  5097. For Frontier users:
  5098.  with FileMaker
  5099.     printDocument("alias")
  5100. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  5101. Print (files)t
  5102. Print (files)u
  5103. Eventv
  5104. kAECoreSuiteZ
  5105. 'core'\
  5106. kAEPrint]
  5107. 'pdoc'^
  5108. keyDirectObject_
  5109. typeObjectSpecifier`
  5110. The object to be printed.g
  5111. Prints the indicated objects.h
  5112. Print (objects)k
  5113. '----'
  5114. print <object specifier> 
  5115. What can I do with it?
  5116. Use the Print event to print a FileMaker Pro file. 
  5117. The syntax for the Print event is very simple to use. All you need to do is provide an alias.  Print is equivalent to doing a print from Finder so the file will be closed after the print has completed.  
  5118. Here are some alternatives to using the Print event:
  5119.   Create a ScriptMaker script in the relevant database and use Apple events to send a Do Script to perform this script.  
  5120.   Send a Do Menu event to FileMaker 
  5121. abbreviatedL
  5122. abilityI
  5123. aboutL
  5124. aboveY
  5125. acceptA
  5126. acceptsP
  5127. accessB
  5128. accessedY
  5129. accessible`
  5130. accessingX
  5131. accidentallyH
  5132. accomplishedQ
  5133. across]
  5134. activateQ
  5135. activeX
  5136. actual\
  5137. addedB
  5138. addingE
  5139. additionU
  5140. additionalA
  5141. additionallyH
  5142. addressP
  5143. addressesC
  5144. addsE
  5145. adminR
  5146. aevtL
  5147. afterA
  5148. aliasR
  5149. allowE
  5150. allowsE
  5151. alreadyQ
  5152. alsoO
  5153. alternativesV
  5154. alwaysF
  5155. amongg
  5156. analogous]
  5157. dataO
  5158. geturl
  5159. infoB
  5160. itema
  5161. layout
  5162. menuH
  5163. itema
  5164. objectsV
  5165. applicationS
  5166. documentsT
  5167. printU
  5168. print
  5169. filesU
  5170. print
  5171. objectsV
  5172. record
  5173. request
  5174. scriptI
  5175. datae
  5176. sizeF
  5177. transactionA
  5178. window
  5179. applicationS
  5180. beginA
  5181. begin
  5182. transactionA
  5183. capplication
  5184. ccell
  5185. ccolumn
  5186. cdatabase
  5187. cdocument
  5188. cfilemakerscript
  5189. classB
  5190. class
  5191. infoB
  5192. close
  5193. cmenu
  5194. cmenuitem
  5195. count
  5196. createE
  5197. create
  5198. crequest
  5199. ctable
  5200. cwindow
  5201. dataF
  5202. sizeF
  5203. database
  5204. delete
  5205. menuH
  5206. scriptI
  5207. document
  5208. documentsT
  5209. duplicate
  5210. transactionK
  5211. eventL
  5212. event
  5213. infoL
  5214. exists
  5215. field
  5216. filemaker^
  5217. filemaker
  5218. script^
  5219. filesU
  5220. dataO
  5221. geturl
  5222. Pro; for example, do menu menu item "print
  5223. " of menu "file".
  5224.   Use the Print event from the Required Suite, using an Apple events alias.   See the record for the Print event from the Required Suite.
  5225. Examples
  5226. For AppleScript users:
  5227. tell application "FileMaker Pro"
  5228.     print "Macintosh HD:Batters"
  5229. end tell
  5230. For Frontier users:
  5231.   with FileMaker
  5232.    printDocument("alias")
  5233. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  5234. Print (objects)t
  5235. Print (objects)u
  5236. Eventv
  5237. kAERequiredSuiteZ
  5238. 'aevt'\
  5239. kAEQuitApplication]
  5240. 'quit'f
  5241. Quits FileMaker Prog
  5242. Quits FileMaker Proh
  5243. print
  5244. event
  5245. print
  5246. filemaker
  5247. fileV
  5248. event
  5249. reorder
  5250. currently
  5251. found
  5252. records
  5253. usedG
  5254. usefulA
  5255. userB
  5256. user-created`
  5257. user-definedE
  5258. userlandL
  5259. usersA
  5260. usesf
  5261. usingB
  5262. valueF
  5263. valuesM
  5264. variableZ
  5265. verbB
  5266. verbsE
  5267. versY
  5268. versionE
  5269. veryB
  5270. visible_
  5271. vlueZ
  5272. hierarchyB
  5273. higherg
  5274. hostP
  5275. hostedP
  5276. hostingP
  5277. hostnameP
  5278. howeverD
  5279. hrefP
  5280. htmlP
  5281. humanlanguageB
  5282. hypercardE
  5283. identifierZ
  5284. ignoreD
  5285. imod\
  5286. implementI
  5287. importI
  5288. importantD
  5289. importedO
  5290. includeD
  5291. includedD
  5292. includesZ
  5293. includingL
  5294. indentifying^
  5295. indexH
  5296. indicatesY
  5297. indicatingZ
  5298. infoB
  5299. informationB
  5300. initialE
  5301. initiatingY
  5302. insertionlocJ
  5303. insertlocE
  5304. installedA
  5305. instanceQ
  5306. insteadS
  5307. integerO
  5308. internal_
  5309. internetP
  5310. -A.quit
  5311. tell application "FileMaker Pro" to quit
  5312.      This database is designed to introduce users to the support for Apple events in FileMaker Pro 2.0.  It uses a variety of layouts, each intended to display a particular kind of information.  
  5313.      When you first open this database, you are presented with the main screen, which allows you to choose from among several options.  To choose an option, click on the text or the button icon next to it.  These icons are used throughout the database to let you change the information displayed wi
  5314. thout having to return to the main screen.  The forward and backward arrow icons above switch to the next and previous records, respectively.  You can also use the layout pop-up menu in the status area, record book or scripts to move through the database.
  5315.      
  5316.      Note:  not all records in this database have data for every field.  If you encounter a blank record while browsing one layout, you have reached the end of the information given for that layout.  Choose another layout to continu
  5317. e with more information.
  5318. Using the Navigation Layouts
  5319.      
  5320. Introduction to Apple Events
  5321.      This layout is intended to provide background information about Apple events, the Apple Event Object Model, and the Apple Event Registry, as well as information about  support for Apple events in FileMaker Pro.  Each record has an informative text field as well as an (optional) example.  
  5322.      
  5323. FileMaker Objects Map
  5324.      This layout is a navigation aid for getting to the information about a 
  5325. specific Event or Object.  It displays all of the Events and Objects which are supported in FileMaker Pro 2.0, grouped according to Apple Event Suites.  Clicking on the title of an Object or Event will switch to a detailed view of the item.
  5326.      
  5327. Object Hierarchy
  5328.      This layout provides a view of the containment hierarchy in FileMaker Pro.  That is, objects appearing to the right are contained in objects to the right of them.  This containment is indicated by dotted gray lines.  Clicki
  5329. ng on the title of an Object will switch to a detailed view of that class.
  5330.      
  5331. Objects and Events List
  5332.      This layout provides a list view all of the Events and Objects which are supported in FileMaker Pro 2.0.  It provides the same infomation as the 
  5333. FileMaker Objects Map
  5334.  in a different manner.  Clicking on the title of an Object or Event will switch to a detailed view of the item.
  5335. Using the Content Layouts
  5336.      
  5337. FileMaker Events
  5338.      This layout gives detailed information about
  5339.  each Event which FileMaker Pro 2.0 supports.   The information supplied includes the event class, ID, terminology, and input  and result parameters.  The 
  5340. Examples
  5341.  field provides some samples for using the event using a fictitious syntax similar to the HyperTalk language.  The 
  5342. Notes
  5343.  field provides some additional information about the event.  Extensions to the standard parameters for events are denoted by their bold keywords.
  5344. What can I do with it?
  5345. The Quit event tells the FileMaker Pro application to quit, just as if you had pulled down the File menu, and selected the Quit command. You can use the Quit event to return to the Finder, for example, if a series of scripts has finished running, and you wish to present a clean desktop.
  5346. Simply sending a Quit event to FileMaker Pro will quit FileMaker Pro.  No other information is needed.
  5347. Examples
  5348. For AppleScript users:
  5349.  tell application "FileMaker Pro"
  5350.     quit
  5351. nd tell
  5352. For Frontier users:
  5353.  with FileMaker
  5354.   QuitApplication()
  5355. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  5356. Quitt
  5357. Quitu
  5358. Eventv
  5359. kAECoreSuiteZ
  5360. 'core'\
  5361. kAESave]
  5362. 'save'^
  5363. keyDirectObject
  5364. databaseW
  5365. denotedW
  5366. designedW
  5367. detailedW
  5368. differentW
  5369. displayW
  5370. displayedW
  5371. displaysW
  5372. dottedW
  5373. eachW
  5374. encounterW
  5375. eventW
  5376. eventsW
  5377. everyW
  5378. exampleW
  5379. examplesW
  5380. extensionsW
  5381. fictitiousW
  5382. fieldW
  5383. filemakerW
  5384. firstW
  5385. forwardW
  5386. fromW
  5387. gettingW
  5388. givenW
  5389. givesW
  5390. layoutW
  5391. layoutsW
  5392. linesW
  5393. listW
  5394. mainW
  5395. mannerW
  5396. menuW
  5397. modelW
  5398. moreW
  5399. moveW
  5400. navigationW
  5401. nextW
  5402. noteW
  5403. objectW
  5404. objectsW
  5405. openW
  5406. optionW
  5407. optionalW
  5408. optionsW
  5409. particularW
  5410. pop-upW
  5411. presentedW
  5412. previousW
  5413. provideW
  5414. providesW
  5415. reachedW
  5416. recordW
  5417. recordsW
  5418. registryW
  5419. respectivelyW
  5420. returnW
  5421. rightW
  5422. sameW
  5423. screenW
  5424. scriptsW
  5425. severalW
  5426. specificW
  5427. statusW
  5428. suitesW
  5429. supportW
  5430. supportedW
  5431. supportsW
  5432. switchW
  5433. syntaxW
  5434. terminologyW
  5435. textW
  5436. thatW
  5437. theirW
  5438. themW
  5439. theseW
  5440. thisW
  5441. database
  5442. designed
  5443. introduce
  5444. users
  5445. support
  5446. throughW
  5447. throughoutW
  5448. titleW
  5449. usedW
  5450. usersW
  5451. usesW
  5452. usingW
  5453. varietyW
  5454. viewW
  5455. wellW
  5456. whenW
  5457. whichW
  5458. whileW
  5459. willW
  5460. withW
  5461. withoutW
  5462. 1001{
  5463. ftero
  5464. applei
  5465. apple
  5466. event
  5467. components
  5468. examplesi
  5469. applicationi
  5470. beforeo
  5471. cdatabasek
  5472. cdocumentk
  5473. cellj
  5474. classi
  5475. class
  5476. cwink
  5477. closej
  5478. close
  5479. applicationj
  5480. complexl
  5481. complex
  5482. object
  5483. specifiersl
  5484. componentsi
  5485. createj
  5486. create
  5487. documentj
  5488. currento
  5489. cwink
  5490. dataj
  5491. layoutj
  5492. delete@
  5493. following@
  5494. none@
  5495. object
  5496. class
  5497. components
  5498. filemaker
  5499. document
  5500. window@
  5501. phasclosebox@
  5502. related@
  5503. relational@
  5504. result@
  5505. scriptmaker@
  5506. size@
  5507. abbreviated@
  5508. aname@
  5509. began@
  5510. call@
  5511. calls@
  5512. commands@
  5513. conclude@
  5514. constants@
  5515. data1@
  5516. differences@
  5517. discs@
  5518. documents@
  5519. excel@
  5520. field@
  5521. fmp3@
  5522. following@
  5523. functional@
  5524. here@
  5525. hierarchy@
  5526. intersection@
  5527. it's@
  5528. kaerequiredsuite@
  5529. make@
  5530. need@
  5531. once@
  5532. parameter@
  5533. performance@
  5534. printdocument@
  5535. waituntilready@
  5536. what@
  5537. word@
  5538. find@
  5539. info@
  5540. size@
  5541. grayW
  5542. groupedW
  5543. haveW
  5544. havingW
  5545. hierarchyW
  5546. hypertalkW
  5547. iconW
  5548. iconsW
  5549. includesW
  5550. indicatedW
  5551. infomationW
  5552. informationW
  5553. informativeW
  5554. inputW
  5555. itemW
  5556. keywordsW
  5557. kindW
  5558. languageW
  5559. layoutW
  5560. layoutsW
  5561. linesW
  5562. listW
  5563. mainW
  5564. mannerW
  5565. menuW
  5566. modelW
  5567. moreW
  5568. moveW
  5569. navigationW
  5570. nextW
  5571. noteW
  5572. notesW
  5573. objectW
  5574. objectsW
  5575. openW
  5576. optionW
  5577. optionalW
  5578. optionsW
  5579. parametersW
  5580. particularW
  5581. pop-upW
  5582. presentedW
  5583. previousW
  5584. provideW
  5585. providesW
  5586. reachedW
  5587. recordW
  5588. recordsW
  5589. registryW
  5590. respectivelyW
  5591. resultW
  5592. returnW
  5593. rightW
  5594. sameW
  5595. samplesW
  5596. screenW
  5597. scriptsW
  5598. typeObjectSpecifier`
  5599. The object to be savedg
  5600. Saves the indicated objects.h
  5601. Savek
  5602. '----'
  5603. save <object specifier>
  5604. What can I do with it?
  5605. Use the Save event to save a FileMaker Pro file.   This isn
  5606. t normally necessary as FileMaker Pro automatically saves files. The Save event can be used to exit a record or request, thereby leaving no field active and updating data in the record.
  5607. Because FileMaker Pro saves automatically every few seconds, you would not normally need to use this event.  However, it is possible to configure FileMaker Pro to save less frequently (to save power on a battery-operated not
  5608. ebook computer, for example). Therefore, it may make sense to request FileMaker Pro to write its changes out to disk periodically.
  5609. Use the Save event when accessing data that may not yet be saved to disk. For example, use Save before getting or setting data into a field when data has been typed into a field and the cursor is still active.  Another case where Save can be helpful is setting data into a field and getting the choices of the field when the value list is based on the field's co
  5610. ^ntents.
  5611. Examples
  5612. For AppleScript users:
  5613. tell application "FileMaker Pro"
  5614.     set cell "Shirt Size" of record 5 to "XL"
  5615.     save database 1
  5616.     get choices of cell "Shirt Size"
  5617. end tell
  5618. For Frontier users:
  5619.   with FileMaker
  5620.    save(window[1])
  5621. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  5622. Savet
  5623. Saveu
  5624. Eventv
  5625. cApplicationI
  5626. 'capp'J
  5627. ApplicationK
  5628. A Macintosh application.L
  5629. typeObjectSpecifierM    pBestType
  5630. pClass
  5631. pDefaultType
  5632. pName
  5633. pIsFrontProcess
  5634. pVersionN
  5635. 'pbst'
  5636. 'pcls'
  5637. 'deft'
  5638. 'pnam'
  5639. 'pisf'
  5640. 'vers'O    best type
  5641. class
  5642. default type
  5643.     frontmost
  5644. versionP5Descriptor type containing best info about this class
  5645. Class ID of the object
  5646. &Default descriptor type for this class
  5647. Name of the application
  5648. -TRUE if the application is the front-most app
  5649. !Version number of the applicationQ
  5650. cType
  5651. cType
  5652. cType
  5653. cChar
  5654. cBoolean
  5655. cVersionS    cDocument
  5656. cWindow
  5657. cMenuT
  5658. The currently open documents
  5659. The open document windows
  5660. All installed menus
  5661. absolute positionW
  5662. Count
  5663. Class Info
  5664. Data Size 
  5665. Exist
  5666. Get Data
  5667. saves
  5668. indicated
  5669. objectsX
  5670. scriptI
  5671. sendS
  5672. objecte
  5673. shouldS
  5674. sizeF
  5675. sortsz
  5676. sorts
  5677. indicated
  5678. layout
  5679. specified
  5680. fieldsz
  5681. specificationP
  5682. specifiedD
  5683. fieldB
  5684. field
  5685. objects
  5686. sometimes
  5687. called
  5688. columns
  5689. analogous]
  5690. field'sX
  5691. fieldsD
  5692. fifth`
  5693. fileC
  5694. filemakerA
  5695. filemakerscriptB
  5696. filenameG
  5697. filesP
  5698. finallyH
  5699. findH
  5700. findapplicationS
  5701. finderS
  5702. findmeO
  5703. findsI
  5704. finishedW
  5705. firstE
  5706. floatingg
  5707. flowI
  5708. concludeK
  5709. conditionG
  5710. configureX
  5711. conjunctionf
  5712. consecutiveg
  5713. considered[
  5714. considers\
  5715. constant]
  5716. inerO
  5717. containingZ
  5718. containmentD
  5719. containsG
  5720. contentsQ
  5721. continueI
  5722. continuingH
  5723. continuouslyI
  5724. controlE
  5725. copiesQ
  5726. copyQ
  5727. copyingQ
  5728. coreB
  5729. correspondF
  5730. correspondsF
  5731. couldB
  5732. countD
  5733. countedD
  5734. countingD
  5735. createE
  5736. create
  5737. scriptmaker
  5738. script
  5739. relevant
  5740. database
  5741. createdE
  5742. createsE
  5743. creatingE
  5744. criteriaO
  5745. currentE
  5746. cursorX
  5747. cuttingQ
  5748. dataB
  5749. data1E
  5750. data2E
  5751. databaseA
  5752. databasesC
  5753. datasizeF
  5754. dateZ
  5755. defaultE
  5756. defineZ
  5757. definedZ
  5758. deftY
  5759. deleteG
  5760. deletedA
  5761. deletingG
  5762. delimitedE
  5763. descriptionB
  5764. descriptionsE
  5765. desktopW
  5766. detailedL
  5767. dialogI
  5768. ctlyB
  5769. someE
  5770. somedatab
  5771. somethingQ
  5772. sometimesD
  5773. sort]
  5774. sortedz
  5775. sortingz
  5776. sortsI
  5777. soundsO
  5778. sourceQ
  5779. specificR
  5780. specifiedL
  5781. specifierC
  5782. specifyE
  5783. specifyingE
  5784. spreadsheet]
  5785. startf
  5786. stateA
  5787. statementA
  5788. statementsY
  5789. states[
  5790. statusZ
  5791. stillX
  5792. storeO
  5793. storedY
  5794. storesF
  5795. stringE
  5796. string4H
  5797. styleH
  5798. submenuE
  5799. subsequentf
  5800.      This database is designed to introduce users to the support for Apple events in FileMaker Pro 2.0.  It uses a variety of layouts, each intended to display a particular kind of information.  
  5801.      When you first open this database, you are presented with the main screen, which allows you to choose from among several options.  To choose an option, click on the text or the button icon next to it.  These icons are used throughout the database to let you change the information displayed wi
  5802. thout having to return to the main screen.  The forward and backward arrow icons above switch to the next and previous records, respectively.  You can also use the layout pop-up menu in the status area, record book or scripts to move through the database.
  5803.      
  5804.      Note:  not all records in this database have data for every field.  If you encounter a blank record while browsing one layout, you have reached the end of the information given for that layout.  Choose another layout to continu
  5805. e with more information.
  5806. Using the Navigation Layouts
  5807.      
  5808. Introduction to Apple Events
  5809.      This layout is intended to provide background information about Apple events, the Apple Event Object Model, and the Apple Event Registry, as well as information about  support for Apple events in FileMaker Pro.  Each record has an informative text field as well as an (optional) example.  
  5810.      
  5811. FileMaker Objects Map
  5812.      This layout is a navigation aid for getting to the information about a 
  5813. specific Event or Object.  It displays all of the Events and Objects which are supported in FileMaker Pro 2.0, grouped according to Apple Event Suites.  Clicking on the title of an Object or Event will switch to a detailed view of the item.
  5814.      
  5815. Object Hierarchy
  5816.      This layout provides a view of the containment hierarchy in FileMaker Pro.  That is, objects appearing to the right are contained in objects to the right of them.  This containment is indicated by dotted gray lines.  Clicki
  5817. ng on the title of an Object will switch to a detailed view of that class.
  5818.      
  5819. Objects and Events List
  5820.      This layout provides a list view all of the Events and Objects which are supported in FileMaker Pro 2.0.  It provides the same infomation as the 
  5821. FileMaker Objects Map
  5822.  in a different manner.  Clicking on the title of an Object or Event will switch to a detailed view of the item.
  5823. Using the Content Layouts
  5824.      
  5825. FileMaker Events
  5826.      This layout gives detailed information about
  5827.  each Event which FileMaker Pro 2.0 supports.   The information supplied includes the event class, ID, terminology, and input  and result parameters.  The 
  5828. Examples
  5829.  field provides some samples for using the event using a fictitious syntax similar to the HyperTalk language.  The 
  5830. Notes
  5831.  field provides some additional information about the event.  Extensions to the standard parameters for events are denoted by their bold keywords.
  5832. What can I do with it?
  5833. The Application object is not one that is normally operated on by users, except when initiating a series of commands. For example, in AppleScript, you could say:
  5834.  tell application "FileMaker Pro"
  5835.       create new record with data {"Sue", "Smith"}
  5836.  end tell
  5837. The above syntax channels the statements to the FileMaker Pro application. 
  5838. The following are some Apple events that commonly apply to the Application, with some sample AppleScript syntax:
  5839. If you want to:      
  5840.                                                    You can say:
  5841. see if FileMaker is running                exists application "FileMaker Pro"
  5842. get class info about the application       class info of application
  5843. quit FileMaker Pro                         quit
  5844. What properties does it have?
  5845. The Application object has the following properties, or attributes: 
  5846. Best Type. The Best Type of the Application object is 'obj ', meaning object.
  5847. Class. The C
  5848. lass of the Application object is 'capp'.
  5849. Default Type. The Default Type of the Application object is 'obj ', the same as Best Type. 
  5850. Frontmost. Frontmost is a Boolean value that indicates whether or not the Application is the frontmost process or not.
  5851. Name. Returns the name of the Application as it appears to the Finder. This is the name that should be used in a Tell statement from AppleScript.
  5852. Version. Returns the application version stored in the 'vers' resource - eg. "3.0v1". 
  5853. Example
  5854. For AppleScript users:
  5855. The main use AppleScript users will have for the Application object is the Tell statement. For example:
  5856.  tell application "FileMaker Pro"
  5857.     <statements here>
  5858.  end tell
  5859. The following script shows how each of the Application properties can be accessed or used.
  5860.  copy name of application "FileMaker Pro" to appName
  5861.  copy version of application "FileMaker Pro" to appVersion
  5862.  copy best type of application "FileMaker Pro" to appBestType
  5863.  if frontmost of application "
  5864. FileMaker Pro" is true then beep 5
  5865.  copy default type of application "FileMaker Pro" to appDefaultType
  5866.  copy class of application "FileMaker Pro" to appClass
  5867. For Frontier users:  
  5868. To get properties of objects using Frontier add the following script to the FileMaker Table of the Frontier root.
  5869. on getProperty(theProperty,obj)
  5870.   theObject = globals.property(theProperty,obj)
  5871.   return(FileMaker.get(theObject))
  5872. To query application properties you can use the following:
  5873. with FileMaker
  5874.      g
  5875. etProperty('pbst',application[1])       -- best type of FileMaker Pro
  5876.      getProperty('pcls',application[1])       -- class of FileMaker Pro 
  5877.      getProperty('deft',application[1])       -- default type of FileMaker Pro
  5878.      getProperty('pisf',application[1])       -- frontmost of FileMaker Pro     
  5879.      getProperty('pnam',application[1])       -- name of FileMaker Pro     
  5880.      getProperty('vers',application[1])       -- version of FileMaker Pro
  5881. with FileMaker
  5882.      count(application[1]
  5883. ,application)        -- returns 1
  5884.      exists(application[1])                   -- returns true    
  5885. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  5886. Applicationt
  5887. Application
  5888. cApplication
  5889. Objectv
  5890. cCellI
  5891. 'ccel'J
  5892. CellK-The value of a field for a particular record.L
  5893. typeCharM    pBestType
  5894. pClass
  5895. pDefaultType
  5896. pName
  5897. pValue
  5898. pFormula
  5899. pProtection
  5900. pLock
  5901. pRepeatSize
  5902. pChoices
  5903. pGlobalValueN
  5904. 'pbst'
  5905. 'pcls'
  5906. 'deft'
  5907. 'ID  '
  5908. 'pnam'
  5909. 'vlue'
  5910. 'pfor'
  5911. 'ppro'
  5912. 'pLCK'
  5913. 'pRPS'
  5914. 'pCHS'
  5915. 'pGLL'O    best type
  5916. class
  5917. default type
  5918.     cellValue
  5919. formula
  5920. protection
  5921. repeat size
  5922. choices
  5923. globalValueP5Descriptor type containing best info about this class
  5924. Class ID of the object
  5925. &Default descriptor type for this class
  5926. The unique ID of the cell
  5927. )The name of the field that makes the cell
  5928. The contents of the cell
  5929. $The calculation formula for the cell
  5930. The protection on the cell
  5931. The locking status on the cell
  5932. /The number of repetitions defined for this cell
  5933. %The value list associated with a cell
  5934. Is this cell a global cell?Q
  5935. cType
  5936. cType
  5937. ccell
  5938. ccolumn
  5939. cdatabase
  5940. cdocument
  5941. cfilemakerscript
  5942. cmenu
  5943. cmenuitem
  5944. crequest
  5945. ctable
  5946. cwindow
  5947. installed
  5948. menusY
  5949. cells]
  5950. column]
  5951. contains\
  5952. ripts[
  5953. currently
  5954. documentsY
  5955. layouts
  5956. database[
  5957. document
  5958. windowsY
  5959. scripts
  5960. database[
  5961. this\
  5962. windowsY
  5963. absoluteY
  5964. absolute
  5965. positionY
  5966. positionY
  5967. range
  5968. relativeZ
  5969. relative
  5970. positionZ
  5971. classY
  5972. class
  5973. infoY
  5974. close
  5975. count
  5976. dataY
  5977. sizeY
  5978. duplicate
  5979. exist
  5980. dataY
  5981. infoY
  5982. dataZ
  5983. sizeY
  5984. kaecoresuite
  5985. kaefilemaker
  5986. kaemiscstandards
  5987. kaerequiredsuite
  5988. kaeurl
  5989. class
  5990. objectY
  5991. closeg
  5992. contain]
  5993. containingY
  5994. contentsZ
  5995. current[
  5996. currentlya
  5997. database[
  5998. defaultY
  5999. default
  6000. descriptor
  6001. classY
  6002. definedZ
  6003. descriptorY
  6004. descriptor
  6005. containing
  6006. about
  6007. classY
  6008. document\
  6009. don'tb
  6010. emptyb
  6011. empty
  6012. filemaker
  6013. records
  6014. don't
  6015. namesb
  6016. formulaZ
  6017. front-mostY
  6018. globalZ
  6019. have]
  6020. indexa
  6021. indicates_
  6022. indicates
  6023. whether
  6024. table
  6025. table
  6026. layout_
  6027. infoY
  6028. global
  6029. cellZ
  6030. field
  6031. global
  6032. field]
  6033. layout
  6034. visible
  6035. layouts
  6036. menu_
  6037. item`
  6038. item'sa
  6039. layout[
  6040. layouts_
  6041. severalW
  6042. similarW
  6043. someW
  6044. specificW
  6045. standardW
  6046. statusW
  6047. suitesW
  6048. suppliedW
  6049. intendedW
  6050. introduceW
  6051. introductionW
  6052. itemW
  6053. keywordsW
  6054. kindW
  6055. languageW
  6056. layoutW
  6057. layoutsW
  6058. linesW
  6059. listW
  6060. mainW
  6061. mannerW
  6062. menuW
  6063. modelW
  6064. moreW
  6065. moveW
  6066. navigationW
  6067. nextW
  6068. noteW
  6069. notesW
  6070. objectW
  6071. objectsW
  6072. openW
  6073. optionW
  6074. optionalW
  6075. optionsW
  6076. parametersW
  6077. particularW
  6078. pop-upW
  6079. presentedW
  6080. previousW
  6081. provideW
  6082. providesW
  6083. reachedW
  6084. recordW
  6085. recordsW
  6086. registryW
  6087. respectivelyW
  6088. resultW
  6089. returnW
  6090. rightW
  6091. sameW
  6092. samplesW
  6093. screenW
  6094. scriptsW
  6095. it'sU
  6096. itemB
  6097. item2a
  6098. item3a
  6099. itemsD
  6100. itmna
  6101. ascendingz
  6102. associatedZ
  6103. assumeA
  6104. asteriskP
  6105. attempte
  6106. attemptingR
  6107. attributeK
  6108. attributesY
  6109. audienceB
  6110. austenE
  6111. automaticallyR
  6112. availableH
  6113. avariableZ
  6114. average]
  6115. avoidI
  6116. backgroundE
  6117. basedO
  6118. battersR
  6119. battery-operatedX
  6120. batting]
  6121. becauseI
  6122. becomeA
  6123. beenE
  6124. beepY
  6125. beforeA
  6126. cType
  6127. cLongInteger
  6128. cChar
  6129. cChar
  6130. cChar
  6131. cEnumeration
  6132. cEnumeration
  6133. cLongInteger
  6134. cChar
  6135. cBoolean
  6136. <none>V6name
  6137. range
  6138. absolute position
  6139. relative position
  6140. Class Info
  6141. Count
  6142.     Data Size
  6143.     Duplicate
  6144. Exist
  6145. Get Data
  6146. Go To
  6147. Set Data
  6148. What can I do with it?
  6149. A Cell is the intersection of a record and a field; it is the value of a particular field for a particular record. Use the Cell object to obtain or examine data. 
  6150. Related cells can be accessed via Apple events. The name of a related cell includes the relationship name separated by two colons such as "Contacts::First Name".  Similarly, the ID of a related cell includes an identifier for the relationship. To access a related cell it must exist on a layout in the maste
  6151. r file. Layout 0 includes all cells specified in the local database (ie. related cells cannot be accessed from this layout). 
  6152. The following are some Apple events that commonly apply to cells, with sample AppleScript syntax:
  6153. If you want to:                                                       You can say:
  6154. Copy a cell value to a variable           copy cell 1 to aVariable
  6155. Count the number of cells in a database   count cells of database 1
  6156. See if
  6157.  a cell exists                      exists cell 5
  6158. Get Class Info of a cell                  class info cell
  6159. Get data from a cell                      get data cell 1, or simply, cell 1
  6160. Get data size of a cell                   data size cell 1
  6161. Find records based on cell values         show (Records whose cell "Name" is "Jones")
  6162. Set data in a cell                        set cell 1 to "Jane"
  6163. What properties does it have?
  6164. Best Type. The Best Type of the Cell object is 'ccel'.
  6165. Class. The Clas
  6166. s of the Cell object is 'ccel'.
  6167. Default Type. The Default Type is 'TEXT' for text fields, 'doub' for number fields, 'PICT' for container fields, and 'ldt ' for time and date fields.
  6168. Name. Returns the field name of the cell as it appears in the Define Fields dialog. If a cell is related, the name of the cell includes the name of the related file separated by two colons such as "Contacts::First Name".  
  6169. ID. The cell ID property is a unique and persistent identifier for a cell represented by 
  6170. a list containing the ID of the record and the ID of the field (eg. {1,2}).  When a cell is related, the ID takes the form of {record ID, {relationship ID, field ID}} where the record ID is from the master file and the field ID is from the related file. For example, the cell ID  {1, {2, 3} is the unique identifier for a related cell of the record in the local database whose ID is 1, using the field of the related database whose ID is 3 as defined by the relationship whose ID is 2.
  6171. CellValu
  6172. e. The CellValue property returns the contents of a cell.
  6173. Access. The Access property returns the access privileges of the cell, which may be one or more of the following: No Access, Read, Write, Update, Create, No Delete, Delete, Full.
  6174. Protection. The protection property returns the protected status of the cell, which is one or more of the following: Read Only, Formulas Protected, Read, Write.
  6175. Formula. The Formula property returns the cell's calculation formula. This property will be empt
  6176. y ("") for fields that are not defined as calculation fields.
  6177. Lock. The lock property returns the lock status of the cell, which is one of the following: Unlocked, Shared Lock, Exclusive Lock.
  6178. Repeat Size. Repeat Size returns a number indicating the number of repetitions a cell has been formatted to display. Non-repeating fields have a value of 1; repeating fields return the  size defined for the field on the specified layout. Specifying the repeat size for a cell using layout 0 returns th
  6179. e maximum number of repeats defined in the Define Fields dialog.
  6180. Choices. The Choices property contains the value list associated with the cell on a specific layout.
  6181. GlobalValue. The GlobalValue property is a Boolean property that returns true if the cell has been defined in the Define fields dialog to be a global field.
  6182. Examples:
  6183. For AppleScript users:
  6184.  tell application "FileMaker Pro"
  6185.      cell 1
  6186.  end tell
  6187. This command gets all the data in the first cell of the topmost database.  To g
  6188. et properties  of a cell using AppleScript
  6189.  tell application "FileMaker Pro"
  6190.      best type of cell 1
  6191.      default type of cell 1
  6192.      class of cell 1
  6193.      cellvalue of cell 1
  6194.      name of cell 1
  6195.      formula of cell 1
  6196.      ID of cell 1
  6197.      lock of cell 1
  6198.      protection of cell 1
  6199.      repeat size of cell 1
  6200.      best type of cell 1
  6201.      choices of cell 1
  6202.      globalValue of cell 1
  6203.  end tell
  6204. For Frontier users: 
  6205. To get properties of objects using Frontier add the following script to the
  6206.  FileMaker Table of the Frontier root.
  6207. on getProperty(theProperty,obj)
  6208.   theObject = globals.property(theProperty,obj)
  6209.   return(FileMaker.get(theObject))
  6210. To query cell properties you can use the following:
  6211. with FileMaker
  6212.      getProperty('pbst',cell[1]))       -- best type of cells
  6213.      getProperty('deft',cell[1]))       -- default type of cells
  6214.      getProperty('pcls',cell[1]))       -- class type of cells
  6215.      getProperty('vlue',cell[1]))       -- contents of the specified cell
  6216.      g
  6217. etProperty('pnam',cell[1]))       -- name of the specified cell 
  6218.      getProperty('pfor',cell[1]))       -- calculation formula for the cell
  6219.      getProperty('ID  ',cell[1]))       -- unique ID for the cell
  6220.      getProperty('pLCK',cell[1]))       -- lock for the cell
  6221.      getProperty('ppro',cell[1]))       -- protection for the cell
  6222.      getProperty('pRPS',cell[1]))       -- number of repetitions for the cell
  6223.      getProperty('pCHS',field[1])       -- value list associated with the cell
  6224. To get data from a cell using Frontier you could say the following
  6225. with FileMaker
  6226.      get(Application[1].document[1].record[1].cell[1]) -- cell 1 of record 1
  6227.      get(record[1].cell[1])                            -- cell 1 of record 1
  6228.      get(cell[10])                                     -- 10th cell of all the
  6229.                                                           cells in the found set
  6230. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in M
  6231. the Frontier.root.
  6232. Cellt
  6233. cCell
  6234. Objectv
  6235. 3H    cDatabaseI
  6236. 'cDB 'J
  6237. DatabaseK
  6238. A FileMaker Pro databaseL
  6239. typeObjectSpecifier M    pBestType
  6240. pClass
  6241. pDefaultType
  6242. pName
  6243. pAccess
  6244. pLock
  6245. pCurrentLayout
  6246. pCurrentRecord
  6247. 'pbst'
  6248. 'pcls'
  6249. 'deft'
  6250. 'pnam'
  6251. 'pACS'
  6252. 'pLCK'
  6253. 'pCLY'
  6254. 'pCRW'O    best type
  6255. class
  6256. default type
  6257. access
  6258. current layout
  6259. current recordP5Descriptor type containing best info about this class
  6260. Class ID of the object
  6261. &Default descriptor type for this class
  6262. The name of the database
  6263. *The access privileges for the current user
  6264. "The locking status of the database
  6265. "The current layout of the database
  6266. "The current record of the databaseQ
  6267. cType
  6268. cType
  6269. cType
  6270. cChar
  6271. cEnumeration
  6272. cEnumeration
  6273. cObjectSpecifier
  6274. cObjectSpecifier
  6275. cTable
  6276. cFileMakerScriptT
  6277. The layouts in the database.
  6278. typechar
  6279. typeintltext
  6280. typeobjectspecifier
  6281. floatingg
  6282. paccess
  6283. pbesttype
  6284. pbounds
  6285. pchecked
  6286. pchoices
  6287. pclass
  6288. pcurrentlayout
  6289. pcurrentrecord
  6290. pdefaulttype
  6291. penabled
  6292. pformula
  6293. pglobalvalue
  6294. phasclosebox
  6295. phastitlebar
  6296. pindex
  6297. floatingg
  6298. pisfrontprocess
  6299. pismodal
  6300. pismodified
  6301. pisresizeable
  6302. piszoomable
  6303. piszoomed
  6304. pitemnumber
  6305. pkind
  6306. plock
  6307. pname
  6308. pnullsok
  6309. pomitted
  6310. layout[
  6311. current
  6312. record[
  6313. defaultY
  6314. default
  6315. typeY
  6316. formula
  6317. frontmost
  6318. globalvalue
  6319. layout[
  6320. modified
  6321. protection
  6322. record[
  6323. repeatZ
  6324. repeat
  6325. sizeZ
  6326. sizeZ
  6327. typeY
  6328. version
  6329. aboutY
  6330. access[
  6331. applicationY
  6332. associatedZ
  6333. bestY
  6334. calculationZ
  6335. cellZ
  6336. classY
  6337. listZ
  6338. locked\
  6339. lockingZ
  6340. makesZ
  6341. media\
  6342. menu_
  6343. menu's`
  6344. modalg
  6345. must]
  6346. nameY
  6347. applicationY
  6348. namesb
  6349. non-repeating]
  6350. notifya
  6351. numberY
  6352. objectY
  6353. omittedc
  6354. orderingg
  6355. persistent^
  6356. privileges[
  6357. protectionZ
  6358. read-only\
  6359. record[
  6360. recordsb
  6361. repeating]
  6362. repetitionsZ
  6363. requestc
  6364. resizedg
  6365. resource`
  6366. rfxd]
  6367. defined
  6368. repeating
  6369. non-repeating]
  6370. rsgl]
  6371. script^
  6372. selecteda
  6373. statusZ
  6374. table_
  6375. cellZ
  6376. calculation
  6377. formula
  6378. field]
  6379. contents
  6380. cellZ
  6381. current
  6382. layout
  6383. database[
  6384. current
  6385. record
  6386. database[
  6387. locking
  6388. status]
  6389. locking
  6390. status
  6391. database[
  6392. locking
  6393. status
  6394. layout_
  6395. locking
  6396. status
  6397. cellZ
  6398. item's
  6399. intersectionZ
  6400. intlB
  6401. intoO
  6402. invalidf
  6403. involvedI
  6404. isflg
  6405. isn'tX
  6406. iszmg
  6407. objectB
  6408. objectsB
  6409. obtainZ
  6410. omitH
  6411. omittedE
  6412. ommitedc
  6413. onlyA
  6414. openJ
  6415. opendocpasswordR
  6416. opendocumentR
  6417. opendocwithpasswordT
  6418. openingR
  6419. operateD
  6420. operatedY
  6421. operatingQ
  6422. operatorsG
  6423. optionE
  6424. option-semi-colona
  6425. option-semicolonH
  6426. orderK
  6427. ordersI
  6428. ordinarilyT
  6429. otherE
  6430. overE
  6431. pacs[
  6432. padra
  6433. pageI
  6434. differencesR
  6435. differentQ
  6436. directedQ
  6437. directionz
  6438. directlyB
  6439. callI
  6440. calledA
  6441. cannotE
  6442. cappY
  6443. caseX
  6444. catalogP
  6445. ccelZ
  6446. ccol]
  6447. cellA
  6448. cell'sZ
  6449. cellsD
  6450. cellvalueZ
  6451. central\
  6452. certainA
  6453. change[
  6454. changed]
  6455. changesX
  6456. channelsY
  6457. charE
  6458. characterF
  6459. charactersF
  6460. checka
  6461. checkedE
  6462. choicesX
  6463. choose[
  6464. clarisP
  6465. clarisworksS
  6466. classB
  6467. classesL
  6468. classinfoB
  6469. clauseO
  6470. clausesG
  6471. cleanW
  6472. clickP
  6473. clipboardQ
  6474. closeC
  6475. closedU
  6476. cmenH
  6477. cmnuH
  6478. codef
  6479. collection[
  6480. colonsZ
  6481. column]
  6482. columns]
  6483. com/productP
  6484. commandH
  6485. The scripts in the databaseV
  6486. absolute positionW
  6487. Class Info
  6488. Close
  6489. Count
  6490.     Data Size
  6491. Exist
  6492. Get Data
  6493. Go To
  6494. What can I do with it?
  6495. Use the Database object to distinguish between different databases, in case you have more than one open.  
  6496. Since a Database object is a FileMaker Pro file considered only as a collection of fields and records, choose Database instead of Document when you want FileMaker Pro to ignore temporary states of the document, like the found set, when evaluating your request.  
  6497. For example, if you ask for record 1 of database 1, you will get the first record in the database r
  6498. egardless of found set. If you ask for record 1 of document 1, you will get the first record in the current found set, if there is one. 
  6499. When using the current record and current layout properties it is not neccessary to specify the database object.  For instance, a statement such as  tell application "FileMaker Pro" to get current record  will return a reference to the current record from the frontmost database.
  6500. The following are some Apple events that commonly apply to databases, with 
  6501. sample AppleScript syntax:
  6502. If you want to:                                                       You can say:
  6503. close a database                         close database 1
  6504. count records in a database              count records of database 1
  6505. see if a database exists (is open)       exists database "FileMaker and Apple Events"
  6506. get Class Info of the database           class info database
  6507. get data from a database                 get data database 1
  6508. get Data Size of a database              data size database 1
  6509. open a database                          open file "FileMaker and Apple Events" 
  6510. change the current record                set current record to record 5
  6511. change the current layout                set current layout to layout 2
  6512. What properties does it have?
  6513. Best Type. The Best Type of the Database object is simply 'obj ', meaning object. 
  6514. Class. The Class of the Database object is 'cDB ', meaning database.
  6515. Default Type. The Defau
  6516. lt Type is also 'obj ', the same as Best Type. 
  6517. Name. Returns the name of the database as it appears to the Finder. This is the name that should be used in a Tell statement from AppleScript.
  6518. Lock. The Lock property returns the current status of the database: Unlocked, Shared Lock, Exclusive Lock. 
  6519. Current Layout. The Current Layout property returns a reference to the current layout.
  6520. Current Record. The Current Record property returns a reference to the current record.
  6521. Access. The Access pr
  6522. operty returns the access privileges of the database, which may be one or more from the following list: No Access, Read, Write, Update, Create, No Delete, Delete, Full.
  6523. Examples:
  6524. For AppleScript users:
  6525. The following script will return the data from the first cell of database 2.
  6526.  tell application "FileMaker Pro"
  6527.      cell 1 of database 2 
  6528.  end tell
  6529. To query database properties you can use the following:
  6530.  tell application "FileMaker Pro"
  6531.      best type of database 1
  6532.      class of databa
  6533.      default type of database 1
  6534.      name of database 1
  6535.      lock of database 1
  6536.      current layout of database 1
  6537.      current record of database 1
  6538.      access of database 1
  6539.  end tell
  6540. To get data from the current record you can use the following statements:
  6541.  tell application "FileMaker Pro"
  6542.      every cell of current record
  6543.  end tell
  6544. For Frontier users: 
  6545. To get properties of objects using Frontier add the following script to the FileMaker Table of the Frontier root.
  6546. on getPrope
  6547. rty(theProperty,obj)
  6548.   theObject = globals.property(theProperty,obj)
  6549.   return(FileMaker.get(theObject))
  6550. To query database properties you can use the following:
  6551. with FileMaker
  6552.      getProperty('pbst',database[1]))     -- best type of the specified database
  6553.      getProperty('pcls',database[1]))     -- class of the specified database
  6554.      getProperty('deft',database[1]))     -- default type of the specified database
  6555.      getProperty('pnam',database[1]))     -- name of the specified database
  6556.      getProperty('pLCK',database[1]))     -- lock of the specified database
  6557.      getProperty('pCLY',application[1]))  -- object specifier for the current
  6558.                                              layout    
  6559.      getProperty('pCRW',application[1]))  -- object specifier for the current
  6560.                                              record
  6561.      getProperty('pACS',database[1]))     -- access of the specified database
  6562. To  use the database object to get data you use something like the follow
  6563. with FileMaker
  6564.      get(Application[1].document[1].database[1].record[1].cell[1])
  6565.      get(Application[1].window[1].database[1].record[1].cell[1])
  6566. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  6567. Databaset
  6568. Database
  6569. cDatabase
  6570. Objectv
  6571. 4H    cDocumentI
  6572. 'cdoc'J
  6573. DocumentK
  6574. A FileMaker Pro document.L
  6575. typeObjectSpecifier M    pBestType
  6576. pClass
  6577. pDefaultType
  6578. pName
  6579. pIsModifiedN
  6580. 'pbst'
  6581. 'pcls'
  6582. 'deft'
  6583. 'pnam'
  6584. 'imod'O    best type
  6585. class
  6586. default type
  6587. modifiedP5Descriptor type containing best info about this class
  6588. Class ID of the object
  6589. &Default descriptor type for this class
  6590. The name of the document
  6591. 4TRUE if database is not read-only or on locked mediaQ
  6592. cType
  6593. cType
  6594. cType
  6595. cChar
  6596. cBooleanS    cDatabase
  6597. cFileMakerScriptT#The database this document contains
  6598. The scripts in this documentV
  6599. absolute positionW
  6600. Class Info 
  6601. Close 
  6602. Count
  6603.     Data Size
  6604. Exist
  6605. Get Data
  6606. Go To
  6607. Print
  6608. cobjectspecifier
  6609. cqdrectangle
  6610. ctype
  6611. cversion
  6612. typetargetid
  6613. constantsH
  6614. contactQ
  6615. contactsE
  6616. contain]
  6617. containedB
  6618. containerO
  6619. containingZ
  6620. containmentD
  6621. containsG
  6622. contentsQ
  6623. continueI
  6624. continuingH
  6625. continuouslyI
  6626. controlE
  6627. copiesQ
  6628. copyQ
  6629. copyingQ
  6630. coreB
  6631. correspondF
  6632. correspondingf
  6633. correspondsF
  6634. couldB
  6635. countD
  6636. countedD
  6637. countingD
  6638. counts_
  6639. createE
  6640. create
  6641. scriptmaker
  6642. script
  6643. relevant
  6644. database
  6645. createdE
  6646. createsE
  6647. creatingE
  6648. creation]
  6649. criteriaO
  6650. crowb
  6651. crqtc
  6652. cscp^
  6653. ctbl_
  6654. currentE
  6655. currently`
  6656. cursorX
  6657. customz
  6658. cuttingQ
  6659. cwing
  6660. dataB
  6661. tionsE
  6662. desktopW
  6663. detailedL
  6664. dialogI
  6665. What can I do with it?
  6666. Use the Document object to distinguish between different databases, in case you have more than one open. Choose Document instead of Database when you want FileMaker Pro to use the found set to evaluate your request. Document and Window are synonyms.
  6667. When working with Document objects, FileMaker Pro considers things that are not central to the actual data of the file, like the found set, unlike when it works with Database objects.
  6668. For example, if you ask for record 
  6669. 1 of database 1, you will get the first record in the database regardless of found set. If you ask for record 1 of document 1, you will get the first record in the current found set, if there is one. 
  6670. The following are some Apple events that commonly apply to documents, with sample AppleScript syntax:
  6671. If you want to:                                               You can say:
  6672. close a document                     close document 1
  6673. count documents                  
  6674.     count document
  6675. see if a document is open            exists document "Batters"
  6676. get Class Info about the document    class info document
  6677. get data from a document             get data document 2
  6678. get data size of a document          data size document 1
  6679. open a document                      open file "Pitchers"
  6680. print a document                     print document "Addresses"
  6681. What properties does it have?
  6682. Best Type. The Best Type of the Document object is 'obj '. 
  6683. Class. The Class of the Doc
  6684. ument object is 'docu'.
  6685. Default Type. The Default Type is also 'obj ', the same as Best Type.
  6686. Name. Returns the name of the document as it appears to the Finder. This is the name that should be used in a Tell statement from AppleScript.
  6687. Modified. The modified property returns true if the document has been edited in the current session.
  6688. Examples:
  6689. For AppleScript users:
  6690.  tell application "FileMaker Pro"
  6691.    tell document 1
  6692.       [statements here]
  6693.    end tell
  6694.  end tell
  6695.  tell document "test
  6696. File" of application "FileMaker Pro"
  6697.    if modified of document 3 is true then
  6698.       copy cell 1 of document 2 to aVariable
  6699.    end if
  6700.  end tell
  6701. To query document properties you can use the following:
  6702.  tell application "FileMaker Pro"
  6703.     best type of document 1
  6704.     default type of document 1
  6705.     class of document 1
  6706.     name of document 1
  6707.     modified of document 1
  6708.  end tell
  6709. For Frontier users:
  6710. To get properties of objects using Frontier add the following script to the FileMaker Table o
  6711. f the Frontier root.
  6712. on getProperty(theProperty,obj)
  6713.   theObject = globals.property(theProperty,obj)
  6714.   return(FileMaker.get(theObject))
  6715. To query document properties you can use the following.
  6716. with FileMaker
  6717.      getProperty('pbst',document[1]))   -- best type of the specified document
  6718.      getProperty('deft',cell[1]))       -- default type of the specified document
  6719.      getProperty('pcls',cell[1]))       -- class type of the specified document
  6720.      getProperty('pnam',cell[1]))       -- 
  6721. nname of the specified document
  6722.      getProperty('imod',cell[1]))       -- modified of the specified document
  6723. To get data from a cell using Frontier you could say the following.
  6724. with FileMaker
  6725.      get(Application[1].document[1].record[1].cell[1])
  6726. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  6727. Documentt
  6728. Document
  6729. cDocument
  6730. Objectv
  6731. cColumnI
  6732. 'ccol'J
  6733. FieldK
  6734. A FileMaker Pro fieldL
  6735. typeCharM    pBestType
  6736. pClass
  6737. pDefaultType
  6738. pName
  6739. pNullsOK
  6740. pRepeating
  6741. pRepeatSize
  6742. pUniqueValue
  6743. pAccess
  6744. pFormula
  6745. pProtection
  6746. pLock
  6747. pChoices
  6748. pGlobalValueN
  6749. 'pbst'
  6750. 'pcls'
  6751. 'deft'
  6752. 'ID  '
  6753. 'pnam'
  6754. 'pNLS'
  6755. 'pRPT'
  6756. 'pRPS'
  6757. 'pUNQ'
  6758. 'pACS'
  6759. 'pfor'
  6760. 'ppro'
  6761. 'pLCK'
  6762. 'pCHS'
  6763. 'pGLL'O    best type
  6764. class
  6765. default type
  6766. nulls OK
  6767. repeats
  6768. repeat size
  6769. unique value
  6770. access
  6771. formula
  6772. protection
  6773. choices
  6774. globalValueP5Descriptor type containing best info about this class
  6775. Class ID of the object
  6776. &Default descriptor type for this class
  6777. The unique ID of the field
  6778. The name of the field
  6779. $FALSE if the field must have a value
  6780. 7'rFxd' if defined as repeating; 'rSgl' if non-repeating
  6781. 0The number of repetitions defined for this field
  6782.     -TRUE if the field must contain a unique value
  6783. document\
  6784. field]
  6785. field
  6786. makes
  6787. cellZ
  6788. filemaker
  6789. script^
  6790. layout_
  6791. requestc
  6792. windowg
  6793. number
  6794. repetitions
  6795. defined
  6796. cellZ
  6797. number
  6798. repetitions
  6799. defined
  6800. field]
  6801. persistent
  6802. unique
  6803. filemaker
  6804. script^
  6805. protection
  6806. field]
  6807. protection
  6808. layout_
  6809. protection
  6810. cellZ
  6811. protection
  6812. recordb
  6813. unique
  6814. cellZ
  6815. unique
  6816. field]
  6817. unique
  6818. layout_
  6819. unique
  6820. recordb
  6821. unique
  6822. requestc
  6823. application
  6824. front-most
  6825. field
  6826. contain
  6827. unique
  6828. value]
  6829. typeY
  6830. uniqueZ
  6831. user[
  6832. user's]
  6833. valueZ
  6834. versionY
  6835. version
  6836. number
  6837. applicationY
  6838. withZ
  6839. cboolean
  6840. cchar
  6841. cenumeration
  6842. clonginteger
  6843. currentlyY
  6844. data]
  6845. database[
  6846. documentY
  6847. documentsY
  6848. fields_
  6849. find_
  6850. found_
  6851. installedY
  6852. items`
  6853. layout_
  6854. layouts[
  6855. menu`
  6856. menusY
  6857. openY
  6858. record]
  6859. records_
  6860. requestc
  6861. requests_
  6862. scripts[
  6863. cells
  6864. record
  6865. column]
  6866. cells
  6867. record
  6868. layout_
  6869. cells
  6870. record
  6871. recordb
  6872. cells
  6873. request
  6874. requestc
  6875. positionY
  6876. range
  6877. relativeZ
  6878. relative
  6879. positionZ
  6880. classY
  6881. class
  6882. infoY
  6883. close
  6884. count
  6885. dataY
  6886. sizeY
  6887. script^
  6888. duplicate
  6889. exist
  6890. dataY
  6891. infoY
  6892. print
  6893. script^
  6894. field
  6895. column
  6896. column
  6897. spreadsh]
  6898. called]
  6899. cell]
  6900. column]
  6901. data]
  6902. field]
  6903. just]
  6904. like]
  6905. particular]
  6906. record]
  6907. spreadsheet]
  6908. kaecoresuite
  6909. kaedatabasesuite
  6910. kaefilemaker
  6911. kaemiscstandards
  6912. kaerequiredsuite
  6913. kaeurl
  6914. +The user's access privileges for this field
  6915. %The calculation formula for the field
  6916. The protection of the field
  6917. The locking status
  6918. (The value list associated with the field
  6919. Is this field a global field?Q
  6920. cType
  6921. cType
  6922. cType
  6923. cLongInteger
  6924. cChar
  6925. cBoolean
  6926. cEnumeration
  6927. cLongInteger
  6928. cBoolean
  6929. cEnumeration
  6930. cChar
  6931. cEnumeration
  6932. cEnumeration
  6933. cChar
  6934. cBooleanS
  6935. cCellT&The cells (record data) for the columnU
  6936.  V6name
  6937. range
  6938. absolute position
  6939. relative position
  6940. Class Info
  6941. Count
  6942.     Data Size
  6943. Exist
  6944. Get Data
  6945. Set Data
  6946. SortX}A field is a column of data, just like a column in a spreadsheet. A particular field on a particular record is called a cell.
  6947. What can I do with it?
  6948. Use the Field object to manipulate data across records or to specify a particular piece of data of a record. 
  6949. Field objects are sometimes called columns, and are analogous to spreadsheet columns. A particular field on a particular record is a cell. Typically, you want to set data into and get data from cells, and not fields. 
  6950. Related fields can also be accessed via Apple events. The name of a related field includes the relationship name separated by two colons such
  6951.  as "Contacts::First Name".  Similarly, the ID of a related field includes an identifier for the relationship. To access a related field it must exist on a layout in the master file. Because layout 0 includes all fields specified in the local database related fields cannot be accessed from this layout.
  6952. Note: It is important to realize that fields are not contained by records. If you were to tell FileMaker Pro  set field 1 to aVariable,  that cell in every record of the found set would be 
  6953. changed.
  6954. The following are some Apple events that commonly apply to fields, with sample AppleScript syntax:
  6955. If you want to:                                     You can say:
  6956. count fields in a database       count field 1 class cell
  6957. see if a field exists            exists field "Batting Average"
  6958. get class info of a field        class info field
  6959. get data from a field            field 1
  6960. get data from a field as text    field 1 as text
  6961. count characters in 
  6962. a field      data size field 1
  6963. set data to a field              set field 1 to "bob" (note -- changes all records!)
  6964. sort using a field               sort by field "Record Number"
  6965. What properties does it have?
  6966. Best Type. The Best Type of the Field object is 'ccol', meaning column.
  6967. Class. The Class of the Field object is also 'ccol'.
  6968. Default Type. The Default Type is 'TEXT' for text fields, 'doub' for number fields, 'PICT' for container fields, and 'ldt ' for date and time fields.
  6969. Name. Ret
  6970. urns the name of the field as it appears in the Define Fields dialog. If a field is related, the name of the field includes the name of the related file separated by two colons such as "Contacts::First Name".  
  6971. ID. The field ID property is a unique and persistent identifier for a field based on its creation order.  When a field is related, the ID is a list with two items representing the relationship ID and the ID of the field in the related database.  
  6972. Access. The Access property returns 
  6973. the access privileges of the field, which may be one or more of the following: No Access, Read, Write, Update, Create, No Delete, Delete, Full.
  6974. Protection. The protection property returns the protected status of the field, which is one or more of the following: Read Only, Formulas Protected, Read, Write.
  6975. Lock. The lock property returns the lock status of the field, which is one of the following: Unlocked, Shared Lock, Exclusive Lock.
  6976. Nulls OK. Nulls OK is a Boolean property that returns tr
  6977. ue if the field has been defined in the Define Fields dialog to allow empty values, and false if the field must contain a value.
  6978. Repeats. Repeats is a constant that returns 'rFxd' if the field has been defined to be a repeating field in the Define Fields dialog, and 'rSgl' if it hasn
  6979. Repeat Size. Repeat Size returns a number indicating the number of repetitions of a field on a layout. Non-repeating fields have a value of 1; repeating fields return the maximum size defined for a field on
  6980.  a particular layout. To determine the maximum number of repeats for a field as specified in the Define Fields dialog, specify layout 0.
  6981. Unique Value. Unique Value is a Boolean property that returns true if the field has been defined in the Define fields dialog to require a unique value for each record, and false if it hasn
  6982. Formula. The Formula property returns the field
  6983. s calculation formula. This property will be empty ("") for fields that are not defined as calculation fields.
  6984. Choice
  6985. s. The Choices property contains the value list associated with the field on a specific layout.
  6986. GlobalValue. The GlobalValue property is a Boolean property that returns true if the field has been defined in the Define fields dialog to be a global field.
  6987. Examples:
  6988. For AppleScript users:
  6989.  tell application "FileMaker Pro"
  6990.      best type of field 1
  6991.      class of field 1
  6992.      default type of field 1
  6993.      name of field 1
  6994.      ID of field 1
  6995.      access of field 1
  6996.      protection of field 1
  6997.  lock of field 1
  6998.      nulls OK of field 1
  6999.      repeats of field 1
  7000.      repeat size of field 1
  7001.      unique value of field 1
  7002.      formula of field 1
  7003.      choices of field 1
  7004.      globalValue of field 1
  7005.  end tell
  7006. For Frontier users:  
  7007. To get properties of objects using Frontier add the following script to the FileMaker Table of the Frontier root.
  7008. on getProperty(theProperty,obj)
  7009.   theObject = globals.property(theProperty,obj)
  7010.   return(FileMaker.get(theObject))
  7011. To query field properties you 
  7012. can use the following:
  7013. with FileMaker
  7014.      getProperty('pbst',field[1])        -- best type of the specified field
  7015.      getProperty('pcls',field[1])        -- class of the specified field
  7016.      getProperty('deft',field[1])        -- default type of the specified field
  7017.      getProperty('pnam',field[1])        -- name of the specified field   
  7018.      getProperty('ID  ',field[1])        -- unique ID of the specified field
  7019.      getProperty('pACS',field[1])        -- access of the specified field
  7020.      getProperty('ppro',field[1])        -- protection of the specified field
  7021.      getProperty('pLCK',field[1])        -- lock of the specified field
  7022.      getProperty('pNLS',field[1])        -- nullsOK of the specified field
  7023.      getProperty('pRPT',field[1])        -- repeats of the specified field
  7024.      getProperty('pRPS',field[1])        -- repeat size of the specified field
  7025.      getProperty('pUNQ',field[1])        -- unique value of the specified field
  7026.      getProperty('pfor',field[1]) 
  7027.        -- calculation formula of the specified 
  7028.                                             field
  7029.           getProperty('pCHS',field[1])        -- choices, or value list, of a field
  7030.  An example of using the field object follows.
  7031. with FileMaker
  7032.      getAS(application[1].document[1].database[2].Layout[1].Field[1],'TEXT'))
  7033. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  7034. Fieldt
  7035. Field
  7036. cColumn
  7037. Objectv
  7038. cFileMakerScriptI
  7039. 'cSCP'J
  7040. FileMaker ScriptK
  7041. A FileMaker Pro scriptL
  7042. typeObjectSpecifier M    pBestType
  7043. pClass
  7044. pDefaultType
  7045. pNameN
  7046. 'pbst'
  7047. 'pcls'
  7048. 'deft'
  7049. 'ID  '
  7050. 'pnam'O    best type
  7051. class
  7052. default type
  7053. nameP5Descriptor type containing best info about this class
  7054. Class ID of the object
  7055. &Default descriptor type for this class
  7056. 5The persistent, unique ID of the FileMaker Pro script
  7057. $The name of the FileMaker Pro scriptQ
  7058. cType
  7059. cType
  7060. cType
  7061. cLongInteger
  7062. cCharS
  7063. <none>V6name
  7064. range
  7065. absolute position
  7066. relative position
  7067. Class Info
  7068.     Data Size
  7069.     Do Script
  7070. Exist
  7071. Get Data
  7072. pprotection
  7073. peating
  7074. prepeatsize
  7075. puniquevalue
  7076. pvalue
  7077. pversion
  7078. access
  7079. bestY
  7080. typeY
  7081. cellvalue
  7082. choices
  7083. class
  7084. current[
  7085. current
  7086. layout[
  7087. current
  7088. record[
  7089. defaultY
  7090. default
  7091. typeY
  7092. formula
  7093. frontmost
  7094. globalvalue
  7095. layout[
  7096. modified
  7097. nulls]
  7098. nulls
  7099. protection
  7100. record[
  7101. repeatZ
  7102. repeat
  7103. sizeZ
  7104. repeats
  7105. sizeZ
  7106. typeY
  7107. unique]
  7108. unique
  7109. value]
  7110. value]
  7111. version
  7112. aboutY
  7113. access[
  7114. applicationY
  7115. associatedZ
  7116. bestY
  7117. calculationZ
  7118. cellZ
  7119. classY
  7120. data1E
  7121. data2E
  7122. databaseA
  7123. databasesC
  7124. datasizeF
  7125. dateZ
  7126. defaultE
  7127. defineZ
  7128. definedZ
  7129. deftY
  7130. deleteG
  7131. deletedA
  7132. deletingG
  7133. delimitedE
  7134. descending_
  7135. descriptionB
  7136. descriptionsE
  7137. designation_
  7138. designer`
  7139. desktopW
  7140. detailedL
  7141. determine]
  7142. dialogI
  7143. updatingX
  7144. script
  7145. event
  7146. trigger
  7147. script
  7148. filemakerI
  7149. transaction
  7150. event
  7151. conclude
  7152. transaction
  7153. thatK
  7154. field
  7155. object
  7156. manipulate
  7157. across
  7158. records
  7159. object
  7160. access
  7161. commands
  7162. filemaker
  7163. event
  7164. databases
  7165. documentsR
  7166. What can I do with it?
  7167. Use the FileMaker script object to tell FileMaker Pro to perform user-defined scripts created in a FileMaker Pro file using the ScriptMaker
  7168.  feature. For example, in AppleScript, you could say:
  7169.  tell application "FileMaker Pro"
  7170.       do script FileMaker Script "Go to Info Layout"
  7171.  end tell
  7172. The following are some Apple events that commonly apply to FileMaker Scripts, with sample AppleScript syntax.
  7173. If you want to:                                         You can say
  7174. count scripts in a database       count database 1 class FileMaker script
  7175. see if a script exists            exists FileMaker script "Generate Report"
  7176. get class info of a script        class info FileMaker Script
  7177. get data size of a script         data size FileMaker Script 1
  7178. What properties does it have?
  7179. The FileMaker Script object has the following properties, or attributes: 
  7180. Best Type. The Best Type of the FileMaker Script object is 'obj '.
  7181. Class.
  7182.  The Class of the FileMaker Script object is 'cSCP'.
  7183. Default Type. The Default Type is also 'obj ', the same as Best Type. 
  7184. Name. Returns the name of the script as it appears on the screen.
  7185. ID. The ID is a unique number indentifying the script.
  7186. Examples
  7187. For AppleScript users:
  7188.  tell window 1 of application "FileMaker Pro"
  7189.      do script "Generate Quarterly Report"
  7190.  end tell
  7191.  tell window 1 of application "FileMaker Pro"
  7192.      best type of FileMaker Script 1
  7193.      class of FileMaker Script 1
  7194.      default type of FileMaker Script 1
  7195.      name of FileMaker Script 1
  7196.      ID of FileMaker Script 1
  7197.  end tell
  7198. For Frontier users: 
  7199. To get properties of objects using Frontier add the following script to the FileMaker Table of the Frontier root.
  7200. on getProperty(theProperty,obj)
  7201.   theObject = globals.property(theProperty,obj)
  7202.   return(FileMaker.get(theObject))
  7203. To query FileMaker Script properties you can use the following:
  7204. with FileMaker
  7205.      getProperty('pbst',FileMakerScript[1])   -
  7206. - best type of the specified
  7207.                                                  FileMaker script
  7208.      getProperty('pcls',FileMakerScript[1])   -- class of the specified
  7209.                                                  FileMaker script
  7210.      getProperty('deft',FileMakerScript[1])   -- default type of the specified 
  7211.                                                  FileMaker script
  7212.      getProperty('pnam',FileMakerScript[1])   -- name of the specified 
  7213.                                            
  7214.       FileMaker script
  7215.      getProperty('ID  ',application[1]))      -- unique ID of the specified
  7216.                                                  FileMaker script
  7217.  An example of using the FileMaker Script object follows.
  7218.  with FileMaker
  7219.      doScript(application[1].window[1].database[1].FileMakerScript[1]))
  7220. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  7221. FileMaker Scriptt#FileMaker Script
  7222. cFileMakerScript
  7223. Objectv
  7224. cTableI
  7225. 'ctbl'J
  7226. LayoutK
  7227. A FileMaker Pro layoutL
  7228. typeCharM    pBestType
  7229. pClass
  7230. pDefaultType
  7231. pName
  7232. pAccess
  7233. pLock
  7234. pProtection
  7235. pKind
  7236. pVisibleN
  7237. 'pbst'
  7238. 'pcls'
  7239. 'deft'
  7240. 'ID  '
  7241. 'pnam'
  7242. 'pACS'
  7243. 'pLCK'
  7244. 'ppro'
  7245. 'pKND'
  7246. 'pvis'O    best type
  7247. class
  7248. default type
  7249. access
  7250. protection
  7251. visibleP5Descriptor type containing best info about this class
  7252. Class ID of the object
  7253. &Default descriptor type for this class
  7254. The unique ID of the layout
  7255. The name of the layout
  7256. The access for the current user
  7257.  The locking status of the layout
  7258. The protection of the layout
  7259.     1Indicates whether this table is a table or layout
  7260. +Is this layout visible in the layouts menu?Q
  7261. cType
  7262. cType
  7263. cType
  7264. cLongInteger
  7265. cChar
  7266. cEnumeration
  7267. cEnumeration
  7268. cEnumeration
  7269. cEnumeration
  7270. cBooleanS
  7271. cCell
  7272. cColumn
  7273. cRequest
  7274. filemaker
  7275. script^
  7276. itema
  7277. layout
  7278. itema
  7279. record
  7280. request
  7281. script^
  7282. window
  7283. filemaker
  7284. database[
  7285. filemaker
  7286. document\
  7287. filemaker
  7288. document
  7289. windowg
  7290. filemaker
  7291. field]
  7292. filemaker
  7293. requestc
  7294. filemaker
  7295. layout_
  7296. filemaker
  7297. recordb
  7298. filemaker
  7299. script^
  7300. macintosh
  7301. applicationY
  7302. menu`
  7303. itema
  7304. applicationY
  7305. database[
  7306. document\
  7307. fieldZ
  7308. filemaker[
  7309. findc
  7310. itema
  7311. layout_
  7312. macintoshY
  7313. menu`
  7314. particularZ
  7315. recordZ
  7316. requestc
  7317. script^
  7318. value
  7319. field
  7320. particular
  7321. recordZ
  7322. valueZ
  7323. windowg
  7324. dataZ
  7325. sizeY
  7326. T&The cells (record data) for the layout
  7327. The fields on the layout
  7328. The records in the found set
  7329. !The find requests for this layoutU
  7330.  V6name
  7331. range
  7332. absolute position
  7333. relative position
  7334. Class Info
  7335. Count 
  7336.     Data Size
  7337. Exists
  7338. Get Data
  7339. Go To
  7340. Set Data
  7341. What can I do with it?
  7342. Use the Layout object to move between layouts, to generate reports, or to restrict the available fields. 
  7343. Layout objects are sometimes called tables. When working with a layout, FileMaker Pro considers only the fields that are on that layout. 
  7344. An internal layout is always present, however, that contains all fields defined in the database. This layout is called layout 0, and you can use it whenever you are not sure where the field is that you want to work with.  Dat
  7345. a is always retrieved from layout 0 in the order that fields were created in the Define Fields dialog. Note that layout 0 does not contain information that is layout-specific such as value lists associated with a field and related fields.
  7346. The following are some Apple events that commonly apply to layouts, with sample AppleScript syntax:
  7347. If you want to:                                     You can say:
  7348. count layouts in a database      count database 1 c
  7349. lass layout
  7350. see if a layout exists           exists layout "Batters"
  7351. get class info of a layout       class info layout
  7352. get data from a layout           get data layout 1
  7353. get data size of a layout        data size layout 1
  7354. switch to a particular layout    show layout 1
  7355. set data in a layout             set field 1 of layout 2 to "bob"
  7356. sort in a layout                 sort Layout 2 by Field "b" in order descending
  7357. What properties does it have?
  7358. Best Type. The Best Type of the Layout object i
  7359. s 'ctbl', meaning table, because a layout in FileMaker Pro is really a table.
  7360. Class. The Class of the layout object is 'ctbl'.
  7361. Default Type. The Default Type is 'TEXT'.
  7362. Name. Returns the name of the layout as it appears in FileMaker Pro. 
  7363. ID. The ID is a unique and persistent number designation for a layout.
  7364. Access. The Access property returns the access privileges of the layout, which may be one or more of the following: No Access, Read, Write, Update, Create, No Delete, Delete, Full.
  7365. tection. The protection property returns the protected status of the layout, which is one or more of the following: Read Only, Formulas Protected, Read, Write.
  7366. Lock. The lock property returns the lock status of the layout, which is one of the following: Unlocked, Shared Lock, Exclusive Lock.
  7367. Kind. The kind property returns the kind of layout, which will either be Table or Layout. Layout 0 is Table, since it is the true layout of the database (a FileMaker Pro database has only one table), a
  7368. nd all other layouts have a kind property of Layout.
  7369. Visible. Visible is a Boolean value that indicates whether or not the layout is visible in the layout popup menu.
  7370. Examples:
  7371. For AppleScript users:
  7372.  tell application "FileMaker Pro"
  7373.     show layout "Main Menu"
  7374.  end tell
  7375.  tell application "FileMaker Pro"
  7376.      best type of layout 1
  7377.      class of layout 1
  7378.      default type of layout 1
  7379.      name of layout 1
  7380.      ID of layout 1
  7381.      access of layout 1
  7382.      protection of layout 1
  7383.      lock o
  7384. f layout 1
  7385.      kind of layout 1
  7386.  end tell
  7387. For Frontier users:  
  7388. To get properties of objects using Frontier add the following script to the FileMaker Table of the Frontier root.
  7389. on getProperty(theProperty,obj)
  7390.   theObject = globals.property(theProperty,obj)
  7391.   return(FileMaker.get(theObject))
  7392. To query window properties you can use the following:
  7393. with FileMaker
  7394.      getProperty('pbst',layout[1])       -- best type of the specified layout
  7395.      getProperty('pcls',layout[1])       -- c
  7396. lass of the specified layout
  7397.      getProperty('deft',layout[1])       -- default type of the specified layout
  7398.      getProperty('pnam',layout[1])       -- name of the specified layout
  7399.      getProperty('ID  ',layout[1])       -- unique ID of the specified layout
  7400.      getProperty('pACS',layout[1])       -- access of the specified layout
  7401.      getProperty('ppro',layout[1])       -- protection of the specified layout
  7402.      getProperty('pKND',layout[1])       -- kind of the specified layout
  7403.      g
  7404. etProperty('pLCK',layout[1])       -- lock of the specified layout
  7405. Example using the Layout object:
  7406.  with FileMaker
  7407.      getAS(application[1].document[1].database[2].layout[0],'TEXT"))
  7408.      count(window[1],layout]         -- counts the layouts in the specified window
  7409. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  7410. Layoutt
  7411. Layout
  7412. cTable
  7413. Objectv
  7414. cMenuI
  7415. 'cmnu'J
  7416. MenuK
  7417. A menuL
  7418. typeCharM    pBestType
  7419. pClass
  7420. pDefaultType
  7421. pName
  7422. pEnabledN
  7423. 'pbst'
  7424. 'pcls'
  7425. 'deft'
  7426. 'ID  '
  7427. 'pnam'
  7428. 'enbl'O    best type
  7429. class
  7430. default type
  7431. enabledP5Descriptor type containing best info about this class
  7432. Class ID of the object
  7433. &Default descriptor type for this class
  7434. The menu's resource ID
  7435. The menu's name
  7436. TRUE if the item is enabledQ
  7437. cType
  7438. cType
  7439. cType
  7440. cLongInteger
  7441. cChar
  7442. cBoolean
  7443.  S    cMenuItemT
  7444. The items of this menu.U
  7445. absolute positionW
  7446. Class Info 
  7447. Create 
  7448.     Data Size
  7449. Delete
  7450.     Duplicate
  7451. Exist
  7452. Get Data
  7453. Set Data
  7454. prepeating
  7455. prepeatsize
  7456. ptargetid
  7457. puniquevalue
  7458. pvalue
  7459. pversion
  7460. pvisible
  7461. access
  7462. bestY
  7463. typeY
  7464. cellvalue
  7465. choices
  7466. class
  7467. current[
  7468. current
  7469. layout[
  7470. current
  7471. record[
  7472. defaultY
  7473. default
  7474. typeY
  7475. formula
  7476. frontmost
  7477. globalvalue
  7478. layout[
  7479. modified
  7480. nulls]
  7481. nulls
  7482. protection
  7483. record[
  7484. repeatZ
  7485. repeat
  7486. sizeZ
  7487. repeats
  7488. sizeZ
  7489. typeY
  7490. unique]
  7491. unique
  7492. value]
  7493. value]
  7494. version
  7495. aboutY
  7496. access[
  7497. applicationY
  7498. associatedZ
  7499. bestY
  7500. calculationZ
  7501. cellZ
  7502. classY
  7503. access
  7504. addressa
  7505. bestY
  7506. typeY
  7507. bounds
  7508. layout[
  7509. modified
  7510. nulls]
  7511. nulls
  7512. protection
  7513. record[
  7514. repeatZ
  7515. repeat
  7516. sizeZ
  7517. repeats
  7518. sizeZ
  7519. typeY
  7520. unique]
  7521. unique
  7522. value]
  7523. value]
  7524. version
  7525. visible
  7526. aboutY
  7527. access[
  7528. applicationY
  7529. associatedZ
  7530. bestY
  7531. calculationZ
  7532. cellZ
  7533. classY
  7534. user's
  7535. access
  7536. privileges
  7537. field]
  7538. user's
  7539. access
  7540. privileges
  7541. recordb
  7542. value
  7543. associated
  7544. cellZ
  7545. value
  7546. associated
  7547. field]
  7548. thisY
  7549. titleg
  7550. trueY
  7551. database
  7552. read-only
  7553. locked
  7554. media\
  7555. application
  7556. front-most
  7557. field
  7558. contain
  7559. unique
  7560. value]
  7561. enabled`
  7562. currently
  7563. checkeda
  7564. request
  7565. omittedc
  7566. window
  7567. resizedg
  7568. window
  7569. close
  7570. window
  7571. title
  7572. window
  7573. window
  7574. floating
  7575. windowg
  7576. window
  7577. currently
  7578. zoomedg
  7579. version
  7580. number
  7581. applicationY
  7582. visible_
  7583. whena
  7584. whether_
  7585. windowg
  7586. withZ
  7587. cboolean
  7588. cchar
  7589. cenumeration
  7590. clonginteger
  7591. currently
  7592. documentsY
  7593. database
  7594. document
  7595. contains\
  7596. database
  7597. window
  7598. containsg
  7599. document
  7600. windowg
  7601. fields
  7602. layout_
  7603. requests
  7604. layout_
  7605. items
  7606. menu`
  7607. layouts
  7608. database[
  7609. document
  7610. windowsY
  7611. records
  7612. found
  7613. scripts
  7614. database[
  7615. scripts
  7616. document\
  7617. scripts
  7618. windowg
  7619. this\
  7620. windowg
  7621. windowsY
  7622. absoluteY
  7623. absolute
  7624. positionY
  7625. class
  7626. infoY
  7627. close
  7628. count
  7629. create
  7630. dataY
  7631. sizeY
  7632. delete
  7633. script^
  7634. duplicate
  7635. exist
  7636. exists
  7637. dataY
  7638. infoY
  7639. print
  7640. script^
  7641. What can I do with it?
  7642. Use the Menu object to access menu items that execute commands from FileMaker Pro menus.   For example, in AppleScript, you can say:
  7643.  tell application "FileMaker Pro"
  7644.       do menu menu item 5 of menu "Scripts"
  7645.  end tell
  7646. This command tells FileMaker Pro to perform the fifth command under the Scripts menu, which is a FileMaker Pro script created by the database designer.   Remember to count menu item separators when referring to menu items by their index number.
  7647. so, users have the ability to create menus in FileMaker Pro. A user-created menu is automatically placed in a submenu called "External", under the Scripts menu. Menus and menu items can be nested in the External menu. See an example in the AppleScript Examples section.
  7648. Note: FileMaker Pro has two "Mode" menus. The Mode menu used in Browse, Find, and Preview modes has an ID of 4 whereas the Mode menu used in Layout has an ID of 22.
  7649. The following are some Apple events that commonly apply 
  7650. to menus:
  7651. If you want to:                                 You can say:
  7652. copy a menu                   copy menu named "MyFirstMenu" to menu "MySecondMenu"
  7653. create a new menu             create new menu with properties "MyFirstMenu"
  7654. delete a menu                 delete menu "MyFirstMenu"
  7655. see if a menu exists          exists menu "MyFirstMenu"
  7656. get Class Info of a menu      class info menu
  7657. make a menu inactive          set enabled of menu 1 of menu "External" to false
  7658. Note: The App
  7659. le menu is menu 1. Hierarchical menus, like the Style menu, are both menus and menu items.
  7660. What properties does it have?
  7661. The Menu object has the following properties, or attributes: 
  7662. Best Type. The Best Type of the menu object is 'obj '.
  7663. Class. The Class of the Menu object is 'cmnu'.
  7664. Default Type. The Default Type is 'obj '.
  7665. Name. Returns the name of the menu as it appears on the screen. This is the name that should be used in a Tell statement from AppleScript.
  7666. ID. The menu ID is a numbe
  7667. r (small integer) that returns the menu's resource ID.
  7668. Enabled. Enabled is a Boolean property that returns true if the menu is currently enabled (accessible), and false if the menu is grayed out.
  7669. Examples
  7670. For AppleScript users:
  7671.  tell window 1 of application "FileMaker Pro"
  7672.      do menu menu item "MyScript" from menu "Scripts"
  7673.  end tell
  7674. To create a user-defined menu, you can say:
  7675.  tell application
  7676.    create new menu with properties "My Menu"
  7677.    create new menu with properties "My Menu2"
  7678.    create new menu with properties {name:"My Menu2 ",ID:123,enabled:false}
  7679.  end tell
  7680.  To query menu properties you can use the following:
  7681.  tell application FileMaker pro"
  7682.    best type of menu 1
  7683.    class of menu 1
  7684.    default type of menu 1
  7685.    name of menu 1
  7686.    ID of menu 1
  7687.    enabled of menu 1
  7688.  end tell
  7689. For Frontier users: 
  7690. To get properties of objects using Frontier add the following script to the FileMaker Table of the Frontier root.
  7691. on getProperty(theProperty,obj)
  7692.   theObject = glob
  7693. als.property(theProperty,obj)
  7694.   return(FileMaker.get(theObject))
  7695. To query menu properties you can use the following:
  7696. with FileMaker
  7697.      getProperty('pbst',menu[1])       -- best type of the specified menu
  7698.      getProperty('pcls',menu[1])       -- class of the specified menu
  7699.      getProperty('deft',menu[1])       -- default type of the specified menu
  7700.      getProperty('pnam',menu[1])       -- name of the specified menu
  7701.      getProperty('ID  ',menu[1])       -- ID of the specified menu
  7702. :  getProperty('enbl',menu[1])       -- enabled of the specified menu
  7703. To create a user-defined menu, you would use:
  7704. with FileMaker
  7705.       create(menu,"","My Menu",insertionLoc(last,menu["external"])
  7706. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  7707. Menut
  7708. cMenu
  7709. Objectv
  7710. 9H    cMenuItemI
  7711. 'cmen'J    Menu ItemK
  7712. A menu itemL
  7713. typeIntlTextM    pBestType
  7714. pClass
  7715. pDefaultType
  7716. pEnabled
  7717. pItemNumber
  7718. pName
  7719. pChecked
  7720.     pTargetIDN
  7721. 'pbst'
  7722. 'pcls'
  7723. 'deft'
  7724. 'enbl'
  7725. 'itmn'
  7726. 'pnam'
  7727. 'pCHK'
  7728. 'pADR'O    best type
  7729. class
  7730. default type
  7731. enabled
  7732. item number
  7733. checked
  7734. notify addressP5Descriptor type containing best info about this class
  7735. Class ID of the object
  7736. &Default descriptor type for this class
  7737. TRUE if the item is enabled
  7738. The menu item's number (index)
  7739. The menu item's name
  7740. +TRUE, if the menu item is currently checked
  7741. 4Target ID of the application to notify when selectedQ
  7742. cType
  7743. cType
  7744. cType
  7745. cBoolean
  7746. cLongInteger
  7747. cChar
  7748. cBoolean
  7749. typeTargetID
  7750. <none>V
  7751. absolute positionW
  7752. Class Info
  7753.     Data Size
  7754. Delete
  7755.     Duplicate
  7756. Exist
  7757. Get Data
  7758. Set Data
  7759. cellvalue
  7760. checked
  7761. choices
  7762. class
  7763. closeg
  7764. current[
  7765. current
  7766. layout[
  7767. current
  7768. record[
  7769. defaultY
  7770. default
  7771. typeY
  7772. enabled
  7773. floating
  7774. formula
  7775. frontmost
  7776. globalvalue
  7777. close
  7778. title
  7779. index
  7780. itema
  7781. numbera
  7782. layout[
  7783. modal
  7784. modified
  7785. notifya
  7786. notify
  7787. addressa
  7788. nulls]
  7789. nulls
  7790. numbera
  7791. omitted
  7792. protection
  7793. record[
  7794. repeatZ
  7795. repeat
  7796. sizeZ
  7797. repeats
  7798. titleg
  7799. typeY
  7800. unique]
  7801. unique
  7802. value]
  7803. value]
  7804. version
  7805. visible
  7806. aboutY
  7807. access[
  7808. applicationY
  7809. associatedZ
  7810. bestY
  7811. calculationZ
  7812. cellZ
  7813. checkeda
  7814. classY
  7815. menu's
  7816. resource
  7817. database[
  7818. identifierZ
  7819. ignoreD
  7820. illustratesg
  7821. imagee
  7822. imod\
  7823. implementI
  7824. importI
  7825. importantD
  7826. importedO
  7827. inactive`
  7828. includeD
  7829. includedD
  7830. includesZ
  7831. includingL
  7832. indentifying^
  7833. indexH
  7834. indicatesY
  7835. indicatingZ
  7836. infoB
  7837. informationB
  7838. initialE
  7839. initiatingY
  7840. insertionlocJ
  7841. insertlocE
  7842. installedA
  7843. instanceQ
  7844. insteadS
  7845. integerO
  7846. internal_
  7847. internetP
  7848. 199.99.99.99P
  7849. 199.99.99.99/productP
  7850. 3.0v1Y
  7851. intersection
  7852. record
  7853. field
  7854. What can I do with it?
  7855. Use the Menu Item object to access commands in FileMaker Pro menus.   For example, in AppleScript, you can say:
  7856.  tell application "FileMaker Pro"
  7857.       do menu menu item "Copy" of menu "Edit"
  7858.  end tell
  7859. This command tells FileMaker Pro to perform the fifth command under the Scripts menu, which would be a FileMaker Pro script created by the database designer.  
  7860. Users have the ability to create menu items in FileMaker Pro. A user-created menu item is automatically pl
  7861. aced in a submenu called "External", under the Scripts menu. Menus and menu items can be nested in the External menu. See an example in the AppleScript examples section.
  7862. The following are some Apple events that commonly apply to menu items, with sample AppleScript syntax:
  7863. If you want to:                                                 You can say:
  7864. create a new menu item                create new menu item with properties "Item" of 
  7865.                                          menu
  7866.  "External"
  7867. delete a menu item                    delete menu item "Item" of menu "External"
  7868. see if a menu item exists             exists menu item "Item" of menu "External"
  7869. get Class Info of a menu item         class info menu item
  7870. make a menu item inactive             set enabled of menu item 2 of menu "External"
  7871.                                          to false
  7872. put a check mark beside a menu item   set checked of menu item 2 of menu "External" 
  7873.                                          t
  7874. o true
  7875. What properties does it have?
  7876. The Menu Item object has the following properties, or attributes: 
  7877. Best Type. The Best Type of the Menu Item object is simply 'obj ', meaning object.
  7878. Class. The Class of the Menu Item object is 'cmen'.
  7879. Default Type. The Default Type is also 'obj ', the same as Best Type.
  7880. Name. Returns the name of the menu item as it appears on the screen. The ellipsis following some menu item names must be included and is generated by an option-semi-colon.
  7881. ID. The ID 
  7882. is a unique and persistent number for menu items that have been created via Apple events.
  7883. Enabled. Enabled is a read-write Boolean property that returns true if the menu item is currently enabled (accessible), and false if the menu is grayed out.
  7884. Item Number. The Item Number is the the number of the menu item, meaning its position within the menu.
  7885. Checked. Checked is a read-write Boolean property that returns true if the menu item is currently checked, and false if the menu item is not che
  7886. cked.
  7887. Notify Address. Notify Address is the ID of the application that created the menu item. It is used by menu items created by users in the External menu. For example, you can create a menu item in FileMaker Pro that calls a script in HyperCard when the menu item is selected. The application that creates a menu must have some way to respond when the menu item is selected.
  7888. Examples
  7889. For AppleScript users:
  7890.  tell window 1 of application "FileMaker Pro"
  7891.      do menu menu item "MyScript" fro
  7892. m menu "Scripts"
  7893.  end tell
  7894. To create a user-defined menu item, you would say:
  7895.  tell application "FileMaker Pro"
  7896.    create new menu item with properties "My Menu item"
  7897.    create new menu item with properties "new menu item2"
  7898.    create new menu item with properties {name:"new menu item3", ID:123, 
  7899.                                                                    enabled:false}
  7900.  end tell
  7901. To query menu properties you can use the following:
  7902.  tell application "FileMaker Pro"
  7903.    best type of
  7904.  menu item 1 of menu 2
  7905.    class of menu item 1 of menu 2
  7906.    default type of menu item 1 of menu 2
  7907.    name of menu item 1 of menu 2
  7908.    ID of menu item 1 of menu 2
  7909.    enabled of menu item 1 of menu 2
  7910.    item number of menu item 1 of menu 2
  7911.    checked of menu item 7 of menu 2
  7912.    notify address of menu item 1 of menu "external"
  7913.  end tell
  7914. For Frontier users: 
  7915. To get properties of objects using Frontier add the following script to the FileMaker Table of the Frontier root.
  7916. on getProperty(thePr
  7917. operty,obj)
  7918.   theObject = globals.property(theProperty,obj)
  7919.   return(FileMaker.get(theObject))
  7920. To query menu properties you can use the following:
  7921. with FileMaker
  7922.      getProperty('pbst',menu[2].menuItem[1])    -- best type of the specified
  7923.                                                    menu item
  7924.      getProperty('pcls',menu[2].menuItem[1])    -- class of the specified 
  7925.                                                    menu item
  7926.      getProperty('deft',menu[2].menuItem[1])    -- defa
  7927. ult type of the specified
  7928.                                                    menu item
  7929.      getProperty('pnam',menu[2].menuItem[1])    -- name of the specified
  7930.                                                    menu item
  7931.      getProperty('ID  ',menu[2].menuItem[1])    -- ID of the specified menu item
  7932.      getProperty('enbl',menu[2].menuItem[1])    -- enabled of the specified    
  7933.                                                    menu item
  7934.      getProperty('itmn',menu[2].menuItem[1])    -- 
  7935. item number of the specified    
  7936.                                                    menu item
  7937.      getProperty('pCHK',menu[2].menuItem[1])    -- checked of the specified    
  7938.                                                    menu item
  7939.      getProperty('pADR',menu["external"].menuItem[1])    -- checked of the  
  7940.                                                             specified menu item
  7941.                                                             (only applies to user
  7942.                     
  7943. >                                        created menu items)
  7944. To create a user-defined menu item, you would use:
  7945. with FileMaker
  7946.       create(menuItem,"","My Menu Item",insertionLoc(last,menu["external"])
  7947. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  7948. s    Menu Itemt
  7949. Menu Item
  7950. cMenuItem
  7951. Objectv
  7952. cRowI
  7953. 'crow'J
  7954. RecordK
  7955. A FileMaker Pro recordL
  7956. typeCharM    pBestType
  7957. pClass
  7958. pDefaultType
  7959. pName
  7960. pAccess
  7961. pProtection
  7962. pLockN
  7963. 'pbst'
  7964. 'pcls'
  7965. 'deft'
  7966. 'ID  '
  7967. 'pnam'
  7968. 'pACS'
  7969. 'ppro'
  7970. 'pLCK'O    best type
  7971. class
  7972. default type
  7973. access
  7974. protection
  7975. lockP5Descriptor type containing best info about this class
  7976. Class ID of the object
  7977. &Default descriptor type for this class
  7978. The unique ID of the record
  7979. -Empty, FileMaker Pro records don't have names
  7980. ,The user's access privileges for this record
  7981. The protection on the record
  7982.  The locking status of the recordQ
  7983. cType
  7984. cType
  7985. cType
  7986. cLongInteger
  7987. cChar
  7988. cEnumeration
  7989. cEnumeration
  7990. cEnumerationS
  7991. cCellT&The cells (record data) for the recordU
  7992.  V6name
  7993. range
  7994. absolute position
  7995. relative position
  7996. Class Info
  7997. Count 
  7998. Create 
  7999.     Data Size
  8000. Delete
  8001.     Duplicate
  8002. Exist
  8003. Get Data
  8004. Go To
  8005. Set Data
  8006. item's
  8007. number
  8008. indexa
  8009. menu's
  8010. name`
  8011. item's
  8012. namea
  8013. targeta
  8014. target
  8015. application
  8016. notify
  8017. selecteda
  8018. thatZ
  8019. access
  8020. current
  8021. user_
  8022. access
  8023. privileges
  8024. current
  8025. user[
  8026. bounds
  8027. windowg
  8028. calculation
  8029. formula
  8030. cellZ
  8031. calculation
  8032. formula
  8033. field]
  8034. contents
  8035. cellZ
  8036. current
  8037. layout
  8038. database[
  8039. current
  8040. record
  8041. database[
  8042. index
  8043. front-to-back
  8044. ordering
  8045. windowg
  8046. locking
  8047. status]
  8048. locking
  8049. status
  8050. database[
  8051. locking
  8052. status
  8053. layout_
  8054. locking
  8055. status
  8056. recordb
  8057. locking
  8058. status
  8059. cellZ
  8060. item's
  8061. positionY
  8062. range
  8063. relativeZ
  8064. relative
  8065. positionZ
  8066. classY
  8067. class
  8068. infoY
  8069. close
  8070. count
  8071. create
  8072. dataY
  8073. sizeY
  8074. delete
  8075. script^
  8076. duplicate
  8077. exist
  8078. exists
  8079. dataY
  8080. infoY
  8081. print
  8082. script^
  8083. sampleY
  8084. savedX
  8085. savesX
  8086. screen^
  8087. scriptA
  8088. scriptcodeB
  8089. scriptmakerI
  8090. scriptsD
  8091. searchP
  8092. secondG
  8093. secondsI
  8094. sectionR
  8095. securityH
  8096. selectQ
  8097. selectedE
  8098. sendI
  8099. sendingI
  8100. senseX
  8101. sentS
  8102. separatedZ
  8103. separators`
  8104. seriesW
  8105. session\
  8106. setbinarytypeB
  8107. settingA
  8108. setupsI
  8109. severalE
  8110. sharedZ
  8111. shirtX
  8112. shortB
  8113. shouldS
  8114. showZ
  8115. showingB
  8116. showsY
  8117. similarlyZ
  8118. simpleB
  8119. simplyB
  8120. simultaneouslyA
  8121. sinceF
  8122. singleO
  8123. sizeF
  8124. small`
  8125. smithY
  8126. objectsV
  8127. applicationS
  8128. documentsT
  8129. printU
  8130. print
  8131. filesU
  8132. print
  8133. objectsV
  8134. record
  8135. request
  8136. scriptI
  8137. datae
  8138. sactionA
  8139. event
  8140. object
  8141. Pro 1.0F!
  8142. Pro 3.0J
  8143. t    US Letter    A4 Letter
  8144. US Legal
  8145. International Fanfold
  8146. Computer Paper
  8147. Envelope (#10)
  8148. els^23456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12345
  8149. What can I do with it?
  8150. Use the Record object to access data across a database. Record objects are sometimes called rows. 
  8151. The following are some Apple events that commonly apply to records, with sample AppleScript syntax:
  8152. If you want to:                                      You can say:
  8153. copy a record                        copy record 1 to aVariable
  8154. count records                      count record
  8155. create a new record               create new record with data "Bob"
  8156. delete a recor
  8157. d                   delete record 1
  8158. duplicate a record                duplicate record 1
  8159. see if a record exists            record 5 exists
  8160. class info of a record            class info record
  8161. get data from a record            get data record 1
  8162. count characters in a record      data size record 1
  8163. find a group of records           show every record whose cell "State" contains "CA"
  8164. find all records                  show every record
  8165. set data to a record              set record 1 to {"Bob", "Jones"}
  8166. get contents of curre
  8167. nt record    every cell of current record
  8168. What properties does it have?
  8169. Best Type. The Best Type of the Record object is 'crow', meaning row, for record.
  8170. Class. The Class of the Record object is 'crow'.
  8171. Default Type. The Default Type is 'TEXT'.
  8172. Name. Always returns "", since FileMaker Pro records do not have names. 
  8173. ID. The ID is a unique and persistent number designation for a record.
  8174. Access. The Access property returns the access privileges of the record, which may be one or more of the fo
  8175. llowing: No Access, Read, Write, Update, Create, No Delete, Delete, Full.
  8176. Protection. The protection property returns the protected status of the record, which is one or more of the following: Read Only, Formulas Protected, Read, Write.
  8177. Lock. The lock property returns the lock status of the record, which is one of the following: Unlocked, Shared Lock, Exclusive Lock.
  8178. Examples:
  8179. For AppleScript users:
  8180.  tell application "FileMaker Pro"
  8181.      record 1
  8182.  end tell
  8183. This command gets all the data
  8184.  in the first record of the topmost database.
  8185. To query record properties you can use the following:
  8186.  tell application "FileMaker Pro"
  8187.     best type of record 1
  8188.     class of record 1
  8189.     default type of record 1
  8190.     name of record 1
  8191.     ID of record 1
  8192.     access of record 1
  8193.     protection of record 1
  8194.     lock of record 1
  8195.  end tell
  8196. For Frontier users:
  8197. To get properties of objects using Frontier add the following script to the FileMaker Table of the Frontier root.
  8198. on getProperty(thePrope
  8199. rty,obj)
  8200.   theObject = globals.property(theProperty,obj)
  8201.   return(FileMaker.get(theObject))
  8202. To query record properties you can use the following:
  8203. with FileMaker
  8204.      getProperty('pbst',record[1])       -- best type of the specified record
  8205.      getProperty('pcls',record[1])       -- class of the specified record
  8206.      getProperty('deft',record[1])       -- default type of the specified record
  8207.      getProperty('pnam',record[1])       -- name of the specified record
  8208.      getProperty('ID  ',r
  8209. ecord[1])       -- ID of the specified record
  8210.      getProperty('pACS',record[1])       -- access of the specified record
  8211.      getProperty('ppro',record[1])       -- protection of the specified record
  8212.      getProperty('pLCK',record[1])       -- lock of the specified record
  8213. To create a record, you can say:
  8214. with FileMaker
  8215.       create(record,"somedata","",insertionLoc(last,window[1])
  8216. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the FrontierH
  8217. .root.
  8218. Recordt
  8219. Record
  8220. Objectv
  8221. cRequestI
  8222. cRQTJ
  8223. RequestK
  8224. A FileMaker Pro find requestL
  8225. typeCharM    pBestType
  8226. pClass
  8227. pDefaultType
  8228. pName
  8229. pOmittedN
  8230. 'pbst'
  8231. 'pcls'
  8232. 'deft'
  8233. 'pnam'
  8234. 'ID  '
  8235. 'pOMT'O    best type
  8236. class
  8237. default type
  8238. omittedP5Descriptor type containing best info about this class
  8239. Class ID of the object
  8240. &Default descriptor type for this class
  8241. The name of the request
  8242. The unique ID of the request
  8243. $True if the request is to be omittedQ
  8244. cType
  8245. cType
  8246. cType
  8247. cChar
  8248. cLongInteger
  8249.     cBoolean 
  8250. cCellT(The cells (request data) for the requestU
  8251.  V6name
  8252. range
  8253. absolute position
  8254. relative position
  8255. testW
  8256. Class Info
  8257. Count 
  8258. Create 
  8259.     Data Size
  8260. Delete
  8261.     Duplicate
  8262. Exist
  8263. Get Data
  8264. Go To
  8265. Set Data
  8266. enabled`
  8267. false]
  8268. false
  8269. field
  8270. value]
  8271. fieldZ
  8272. filemaker^
  8273. floatingg
  8274. formulaZ
  8275. front-mostY
  8276. front-to-backg
  8277. globalZ
  8278. have]
  8279. indexa
  8280. indicates_
  8281. indicates
  8282. whether
  8283. table
  8284. table
  8285. layout_
  8286. infoY
  8287. global
  8288. cellZ
  8289. field
  8290. global
  8291. field]
  8292. layout
  8293. visible
  8294. layouts
  8295. menu_
  8296. item`
  8297. item'sa
  8298. layout[
  8299. layouts_
  8300. What can I do with it?
  8301. Use the Request object to create, edit, or access FileMaker Pro find requests which can retrieve records from a database. 
  8302. To create a brand new set of requests, first delete any previous requests using the statement "delete every request", then use the "create request" statement to make the first request. After creating the requests, use the Find event to perform the find.
  8303. The Request object behaves much like the Record object except that only one set of requests 
  8304. is stored for a database. For instance, when using the Show event on a particular request, FileMaker Pro will display all current requests and make the specified one visible. Using a Go To or Show event with a request will switch the database to Find mode.
  8305. Note: when deleting all requests, there is a null request (request 0) until a request is created or  the database is switched to another mode at which time an initial blank request is created (request 1).
  8306. The following are some Apple e
  8307. vents that commonly apply to requests, with sample AppleScript syntax:
  8308. If you want to:                               You can say:
  8309. copy a request                 copy request 1 to aVariable
  8310. count requests                 count request
  8311. create a new request           create request with data "Bob"
  8312. create an ommited request      create request with properties {omitted: true}
  8313. delete a request               delete request 1
  8314. delete all requests            delete every re
  8315. quest
  8316. duplicate a request            duplicate request 1
  8317. see if a request exists        request 5 exists
  8318. class info of a request        class info request
  8319. get data from a request        get data request 1
  8320. go to a specific request       go to request 4
  8321. display a specific request     show request 2
  8322. display all requests           show every request
  8323. set data to a request          set request 1 to {"Bob", "Jones"}
  8324. set data to a request          set cell 1 of request 1 to "Bob"
  8325. omit a request   
  8326.               set omitted of request 2 to true
  8327. perform find requests         find
  8328. What properties does it have?
  8329. Best Type. The Best Type of the Request object is 'list
  8330. Class. The Class of the Request object is 'cRQT'.
  8331. Default Type. The Default Type is 'TEXT'.
  8332. Name. Always returns "", since FileMaker Pro requests do not have names. 
  8333. ID. The ID is a unique number designation for a request.
  8334. Omitted. Omitted is a boolean property that returns true if a find request has been omitted, and false if 
  8335. it has not. The omitted property can be used to exclude records from being found.
  8336. Examples:
  8337. For AppleScript users:
  8338.  tell application "FileMaker Pro"
  8339.      delete every request
  8340.      create request
  8341.      set cell "First Name" of request 1 to "Joe"
  8342.      find
  8343.  end tell
  8344. This command gets all the data in the first request of the frontmost database.
  8345. To query request properties you can use the following:
  8346.  tell application "FileMaker Pro"
  8347.     best type of request 1
  8348.     class of request 1
  8349.     de
  8350. fault type of request 1
  8351.     name of request 1
  8352.     ID of request 1
  8353.     omitted of request 1
  8354.  end tell
  8355. For Frontier users:
  8356. To get properties of objects using Frontier add the following script to the FileMaker Table of the Frontier root.
  8357. on getProperty(theProperty,obj)
  8358.   theObject = globals.property(theProperty,obj)
  8359.   return(FileMaker.get(theObject))
  8360. To query request properties you can use the following:
  8361. with FileMaker
  8362.      getProperty('pbst',request[1])       -- best type of the specifi
  8363. ed request
  8364.      getProperty('pcls',request[1])       -- class of the specified request
  8365.      getProperty('deft',request[1])       -- default type of the specified request
  8366.      getProperty('pnam',request[1])       -- name of the specified request
  8367.      getProperty('ID  ',request[1])       -- ID of the specified request
  8368.      getProperty('pOMT',request[1])       -- omitted of the specified request
  8369. To create a request, you can say:
  8370. with FileMaker
  8371.       create(request,"somedata","",insertionLo
  8372. c(last,window[1])
  8373. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  8374. Requestt
  8375. Request
  8376. cRequest
  8377. Objectv
  8378. Helpu
  8379. Helpv
  8380. kAECoreSuiteZ
  8381. 'core'\
  8382. kAESetData]
  8383. 'setd'^
  8384. keyDirectObject
  8385. saveX
  8386. savedX
  8387. savesX
  8388. screen^
  8389. scriptA
  8390. scriptcodeB
  8391. scriptmakerI
  8392. scriptsD
  8393. searchP
  8394. secondG
  8395. secondsI
  8396. sectionR
  8397. securityH
  8398. selectQ
  8399. selectedE
  8400. selectsf
  8401. sendI
  8402. sendingI
  8403. senseX
  8404. sentS
  8405. separatedZ
  8406. separators`
  8407. seriesW
  8408. session\
  8409. setbinarytypeB
  8410. shirtX
  8411. shortB
  8412. shouldS
  8413. showZ
  8414. showingB
  8415. showsY
  8416. similarlyZ
  8417. simpleB
  8418. simplyB
  8419. simultaneouslyA
  8420. sinceF
  8421. singleO
  8422. sizeF
  8423. small`
  8424. smithY
  8425.     keyAEData_
  8426. typeObjectSpecifier
  8427. varies`
  8428.  a"The object whose data is to be set
  8429. The new data
  8430. Sets the data of the object to the supplied value.
  8431. Note:  Attempts to set the data of objects that are read-only will fail with the error errAEWriteDenied (-10006).  If the database is locked, read-only, or the user lacks the proper privileges, the operation will also fail.
  8432. Set the data of an objecth
  8433. Set Datak
  8434. '----'
  8435. 'data'
  8436. set data <object specifier> data <the data>
  8437. Set data visible of window 3 data false
  8438. Set data cell named "FirstName" of record 1 data "Brendan"
  8439. Set data checked of menuItem named "external menu 1"
  8440. What can I do with it?
  8441. Use the Set Data event to place data into an object, like a field, cell, record, or request.
  8442. When using the Set Data event you must provide an object specifier, like record 1, and the data you want to put into the object.
  8443. set data record 1 data {"Jane", "Austen"}
  8444. The Set Data event can be used to set data types such as pictures, sounds, and QuickTime movies into FileMaker Pro container fields.  It is also possible to use Apple events to set a reference to a pictur
  8445. e file in a container field 
  8446.  for example  set cell 1 to file "Macintosh HD: My Picture".  FileMaker Pro treats the image as if it were imported using the "store file reference" option. Note: the reference to the picture must be of type "file".
  8447. Note:  You must have write access in order to set data. If you attempt to set the data of a read-only object, FileMaker Pro will fail the event, and return the error errAEWriteDenied (-10006).
  8448. Examples
  8449. For AppleScript users:
  8450. If you want to set da
  8451. ta to:                             You can say:
  8452. a record with at least two fields     set record 1 to {"Jane", "Austen"}
  8453. a field on the last record            set cell "Last Name" of last record to "Austen"
  8454. a field on the second record          set cell "Last Name" of record after record 1 
  8455.                                         to "Austen"
  8456. a user-defined menu item              set checked of menu item "menu 1" of menu 
  8457.                                         "External" t
  8458. o true
  8459. the last record                       set data last record to "a<tab>b<tab>c"
  8460. the middle record                     set data cell 1 of middle record to "yes"
  8461. a field of a record of a window       set data field 1 of window 1 to "bob"
  8462. records matching a certain condition  set data (every record of window "temp" whose                                cell 1 contains "a" and cell 2 
  8463.  "b") to "c"
  8464. the name of a user-defined menu item  set data name of menu item 1 of menu "external"
  8465.                             
  8466.             to "NewName"
  8467. the enabled property of a menu item   set data enabled of menu item 1 of menu 
  8468.                                         "external" to false
  8469. the visible property of a window      set data visible of window 1 to true
  8470. (Other operators that can be used with "whose" clauses: <, 
  8471. , >, 
  8472. , AND, OR, NOT, begins with, ends with, contains.)
  8473. For Frontier users:
  8474.  with FileMaker
  8475.    set(window[1].record[8].cell[1],"newData")
  8476.    set(window[1].record[8].record['prev'].cell[1]
  8477. ,"newData")
  8478.    set(window[1].record[8].record[
  8479. ].cell[1],"newData")
  8480.    set(window[1].record[8].cell[1],"newData")
  8481.    set(window[1].record[cell[1] = "criteria"],"newData")
  8482. (Other operators available for use include <, 
  8483. , >, 
  8484. , AND, OR, NOT, begins with, ends with, contains.)
  8485.  with FileMaker
  8486.    theData = "a" + char(9) + "b" + char(9) + "c" + char(9) + "d"
  8487.    set(window[1].record[8].cell[1],theData)
  8488.    set(window[1].record[cell[1] = "criteria"],theData)
  8489. To set properties using Fron
  8490. tier add the following script to the FileMaker table:
  8491.  on setProperty(theProperty,obj,data)
  8492.    return(FileMaker.set(property(theProperty,obj),data))
  8493. Examples of using the setProperty script:
  8494. with FileMaker
  8495.    setProperty('pvis',window[1],false)   --  hides the first FileMaker Pro window 
  8496.    setProperty('pnam',menu["external"].menuItem[1],"aName")  -- names the first
  8497.                                                                 menu item of the
  8498.                                         
  8499. a                        external menu (only
  8500.                                                                 user-defined menu
  8501.                                                                 items)
  8502.                                           
  8503. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  8504. Set Datat
  8505. Set Datau
  8506. Eventv
  8507. kAEMiscStandardsZ
  8508. 'misc'\
  8509. kAEMakeObjectVisible]
  8510. 'mvis'^
  8511. keyDirectObject_
  8512. typeObjectSpecifier`
  8513. The objects to show
  8514. %Useful on cWindow, cDatabase, cRow, and cTable classes.
  8515. This event may be used to instruct FileMaker Pro to switch to a desired layout, show a set of records, or reveal a hidden window.
  8516. When used in conjunction with a "whose" statement on records, this event results in a FileMaker Pro Find.
  8517. g$Makes the specified objects visible.h
  8518. Showk
  8519. '----'
  8520. show <object specifier>
  8521. show window 8
  8522. show layout named "Main Screen"
  8523. show every record whose cell named "Last Name" 
  8524.  "McCarthy"
  8525. transactionA
  8526. transactionsA
  8527. trueM
  8528. typeB
  8529. typeclassinfoB
  8530. typeeventinfoL
  8531. usedf
  8532. usefulf
  8533. useful
  8534. cwindow
  8535. cdatabase
  8536. ctable
  8537. classesf
  8538. userG
  8539. usingN
  8540. validJ
  8541. valuee
  8542. valuesM
  8543. volumeS
  8544. whenf
  8545. whileA
  8546. whosef
  8547. willA
  8548. windowf
  8549. wordsM
  8550. xxxxG
  8551. aboutB
  8552. actionH
  8553. asksM
  8554. given
  8555. object
  8556. existsM
  8557. associatedH
  8558. beginA
  8559. classD
  8560. closesC
  8561. closes
  8562. indicated
  8563. objectsC
  8564. copyJ
  8565. countsD
  8566. counts
  8567. number
  8568. elements
  8569. indicated
  8570. class
  8571. createsE
  8572. creates
  8573. element
  8574. indicated
  8575. class
  8576. specifieE
  8577. currentN
  8578. dataF
  8579. databaseP
  8580. deletesG
  8581. deletes
  8582. specified
  8583. objectG
  8584. action
  8585. associated
  8586. itemH
  8587. documentsT
  8588. elementE
  8589. elementsB
  8590. eventS
  8591. eventsL
  8592. existsM
  8593. filemakerI
  8594. filesU
  8595. findN
  8596. myfirstmenu`
  8597. mymenuE
  8598. mymenuitemH
  8599. myscript`
  8600. mysecondmenu`
  8601. nameB
  8602. namedG
  8603. nameofwindowC
  8604. namesB
  8605. narrowf
  8606. navigateE
  8607. navigatingQ
  8608. navigationQ
  8609. neccessary[
  8610. necessaryQ
  8611. excelE
  8612. exceptY
  8613. excludec
  8614. exclusiveZ
  8615. execute`
  8616. existZ
  8617. existsM
  8618. exitX
  8619. expectsA
  8620. extensionT
  8621. externalE
  8622. factM
  8623. faile
  8624. falseM
  8625. fasterE
  8626. featureA
  8627. featuresI
  8628. setpropertye
  8629. settingA
  8630. setupsI
  8631. severalE
  8632. sharedZ
  8633. shirtX
  8634. shortB
  8635. shouldS
  8636. showZ
  8637. showingB
  8638. shownf
  8639. showsY
  8640. similarlyZ
  8641. simpleB
  8642. simplyB
  8643. simultaneouslyA
  8644. sinceF
  8645. singleO
  8646. sizeF
  8647. small`
  8648. smithY
  8649. sizeF
  8650. transactionA
  8651. window
  8652. event
  8653. intro
  8654. object
  8655. Pro 1.0F!
  8656. Pro 3.0J
  8657. t    US Letter    A4 Letter
  8658. US Legal
  8659. International Fanfold
  8660. Computer Paper
  8661. Envelope (#10)
  8662. els^23456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12345
  8663. What can I do with it?
  8664. Use the Show event to display a layout, or groups of records. When operating on records in conjunction with the "whose" statement, Show is much like a find request in FileMaker Pro.
  8665. The Show event will work on the following objects: Window, Document, Database, Record, Request, and Layout. The object must already be open or available; so it may be necessary to open a window, document or database before showing something within it. 
  8666. To use the Show event, provide an 
  8667. object specifier for the object to be shown, like records whose cell "Last Name" 
  8668.  "Bellamy", or every record, or layout 2. 
  8669. Using Show with the Database object selects records from the entire database. A Show event directed at a Document, however, retrieves records from the current found set. With the Document object, you can start with a broad search criteria and narrow the found set with subsequent Show events.
  8670. Note: using the Show event on a Window, Database, or Document makes the o
  8671. bject visible if it was hidden but does not activate it (ie. bring it to the front).  Instead, use the Go To event to activate and display a database.
  8672. Because the Show event uses AppleScript terminology to find data, it does not accept FileMaker Pro find symbols such as the current date or duplicate symbols (eg. //, !). To use these types of symbols create a find request and set the find symbol into a cell. Here is a table showing AppleScript terminology and the corresponding FileMaker fi
  8673. nd symbols.
  8674.                     FileMaker
  8675. AppleScript terminology              equivalent
  8676.      
  8677. contains    text        
  8678. begins with    text*        
  8679. ends with    *text        
  8680. equals    = (exact match)
  8681. greater than    >        
  8682. less than    <        
  8683. greater than or equal to    
  8684. lesser than or equal to    
  8685. not equal to    Omitted request
  8686. or    Multiple requests
  8687. and    Data in multiple fields within a request
  8688. greater than and less than    ...
  8689. Not supported via Show    Duplicate, Current Date, Single character, Today's date and Invalid date or time
  8690. Examples
  8691. r AppleScript users:
  8692. If you want to:                                         You can say:
  8693. get a found set of first record     show record 1
  8694. make a hidden window visible        show window "Lookup File"
  8695. display a different layout          show layout "Sales Summary"
  8696. find all records                  show every record of database 1
  8697. find a group of records             show every record of database 1 
  8698.                            whose cell "Last Name" contains "Swain"
  8699. find records within t
  8700. he found set   show every record of document 1 
  8701.                            whose cell "First Name" contains "Joe"
  8702. find records that are empty        show every record of database 1 
  8703.                            whose cell "Zip Code" = ""
  8704. find records that are not empty        show every record of database 1 
  8705.                            whose cell "First Name" 
  8706. (Other operators that can be used: <, 
  8707. , >, 
  8708. , AND, OR, NOT, Begins with, Ends with, contains.)
  8709. For Frontier users:
  8710. If you want to:                                         You can say:
  8711.                                                                  with FileMaker
  8712. get a found set of first record   show(record[1])
  8713. get a found set of second record  show(record[1].record['next'])                                           
  8714. get a found set of first record   show(record[2].record['prev'])                                            
  8715. display a different layout        show(Layout[2])
  8716. find a group of records           show(window[1].record[cell[1] == "Swa
  8717. Gin"]) 
  8718.                                                     
  8719.                                                     
  8720. (Other operators that can be used: <, 
  8721. , >, 
  8722. , AND, OR, NOT, Begins with, Ends with, contains.)
  8723. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  8724. Showt
  8725. Showu
  8726. Eventv
  8727. cWindowI
  8728. 'cwin'J
  8729. WindowK A FileMaker Pro document window.L
  8730. typeObjectSpecifier M    pBestType
  8731. pBounds
  8732. pClass
  8733. pDefaultType
  8734. pHasCloseBox
  8735. pHasTitleBar
  8736. pIndex
  8737. pIs Floating
  8738. pIsModal
  8739. pIsResizeable
  8740. pIsZoomable
  8741.     pIsZoomed
  8742. pName
  8743. pVisibleN
  8744. 'pbst'
  8745. 'pbnd'
  8746. 'pcls'
  8747. 'deft'
  8748. 'hclb'
  8749. 'ptit'
  8750. 'pidx'
  8751. 'isfl'
  8752. 'pmod'
  8753. 'prsz'
  8754. 'iszm'
  8755. 'pzum'
  8756. 'pnam'
  8757. 'pvis'O    best type
  8758. bounds
  8759. class
  8760. default type
  8761. has close box
  8762. has title bar
  8763. index
  8764. floating
  8765. modal
  8766. resizeable
  8767. zoomable
  8768. zoomed
  8769. visibleP5Descriptor type containing best info about this class
  8770. The bounds of the window
  8771. Class ID of the object
  8772. &Default descriptor type for this class
  8773. "TRUE if the window has a close box
  8774. "TRUE if the window has a title bar
  8775. 0The index (front-to-back ordering) of the window
  8776. 'TRUE if the window is a floating window
  8777. TRUE if the window is modal
  8778. !TRUE if the window can be resized
  8779. windowsC
  8780. withA
  8781. wordsM
  8782. xxxxG
  8783. aboutB
  8784. actionH
  8785. asksM
  8786. given
  8787. object
  8788. existsM
  8789. associatedH
  8790. beginA
  8791. classD
  8792. closesC
  8793. closes
  8794. indicated
  8795. objectsC
  8796. copyJ
  8797. countsD
  8798. counts
  8799. number
  8800. elements
  8801. indicated
  8802. class
  8803. createsE
  8804. creates
  8805. element
  8806. indicated
  8807. class
  8808. specifieE
  8809. currentN
  8810. dataF
  8811. databaseP
  8812. deletesG
  8813. deletes
  8814. specified
  8815. objectG
  8816. action
  8817. associated
  8818. itemH
  8819. documentsT
  8820. elementE
  8821. elementsB
  8822. eventS
  8823. eventsL
  8824. existsM
  8825. fieldsz
  8826. filemakerI
  8827. filesU
  8828. findN
  8829. onceP
  8830. onlyA
  8831. openJ
  8832. opendocpasswordR
  8833. opendocumentR
  8834. opendocwithpasswordT
  8835. openingR
  8836. operateD
  8837. operatedY
  8838. operatingQ
  8839. operatorsG
  8840. optionE
  8841. option-semi-colona
  8842. option-semicolonH
  8843. orderK
  8844. ordersI
  8845. ordinarilyT
  8846. otherE
  8847. overE
  8848. pacs[
  8849. padra
  8850. pageI
  8851. !TRUE if the window has a zoom box
  8852. &TRUE if the window is currently zoomed
  8853. The name of the window
  8854. TRUE if the window is visibleQ
  8855. cType
  8856. cQDRectangle
  8857. cType
  8858. cType
  8859. cBoolean
  8860. cBoolean
  8861. cLongInteger
  8862. cBoolean
  8863. cBoolean
  8864. cBoolean
  8865.  S    cDatabase
  8866.     cDocument
  8867. cFileMakerScriptT!The database this window contains
  8868. The document in this window
  8869. The scripts in this windowV
  8870. absolute positionW
  8871. Class Info 
  8872. Close
  8873. Count 
  8874.     Data Size
  8875. Exist
  8876. Get Data
  8877. Go To
  8878. Print
  8879. What can I  do with it?
  8880. Use the Window object to distinguish between FileMaker Pro files that are already open.   For example, in AppleScript, you could say:
  8881.  tell window 2 of application "FileMaker Pro"
  8882.       create new record with data {"Sue", "Smith"}
  8883.  end tell
  8884. This syntax channels the statements to the second window of the FileMaker Pro application.  The current window is always window 1.  
  8885. The following are some Apple events that commonly apply to windows, with sample AppleScript s
  8886. yntax:
  8887. If you want to:                                                               You can say:
  8888. copy an object specifier of the window       copy window 1 to bob
  8889. close a window                               close window 1
  8890. count the number of open windows             count windows
  8891. see if a particular window is open           window "Sales Report" exists
  8892. get Class Info of the window object          class info window
  8893. get data of a window (get object specifier)  get data
  8894.  window 1
  8895. print a window                               print alias "window1:Folder1:HardDisk"
  8896. You might choose to use the Window object over the Document object, because the Window object has certain properties the Document object doesn't have, such as a zoomed property.
  8897. What properties does it have?
  8898. The Window object has the following properties, or attributes: 
  8899. Best Type. The Best Type of the Window object is 'obj ', meaning object.
  8900. Class. The Class of the Window object is 'cwin', mea
  8901. ning window.
  8902. Default Type. The Default Type is also 'obj ', the same as Best Type.
  8903. Bounds. The Bounds property returns the boundary rectangle for the window. 
  8904. Name. Returns the name of the window as it appears to the Finder. This is the name that should be used in a Tell statement from AppleScript.
  8905. Visible. Visible is a Boolean property that returns true if the window is visible, and false if the window isn't.
  8906. Index. The index of a window is the number of the window, which indicates its re
  8907. lative position among open windows. The active window is always window 1, and the other windows that are open, if any, would be numbered 2 and higher, in consecutive order.
  8908. Floating. Floating is a Boolean property that returns true if the window is a floating window, and false if the window isn't.
  8909. Zoomable. Zoomable is a Boolean property that returns true if the window is a zoomable window, and false if the window isn't.
  8910. Zoomed. Zoomed is a Boolean property that returns true if the window 
  8911. is currently in a zoomed state, and false if the window isn't.
  8912. Modal.  Modal is a Boolean property that returns true if the window is a modal window, and false if the window isn't.
  8913. Resizable. Resizable is a Boolean property that returns true if the window is a resizable window, and false if the window isn't.
  8914. Has Close Box.  Has Close Box is a Boolean property that returns true if the window has a close box, and false if the window doesn't.
  8915. Has Title Bar. Has Title Bar is a Boolean property
  8916.  that returns true if the window has a title bar, and false if the window doesn't.
  8917. Examples
  8918. For AppleScript users - the following script illustrates how to close all open windows:  
  8919.  tell application "FileMaker Pro"
  8920.      if window 1 exists then
  8921.         repeat count of window times
  8922.             close window 1
  8923.         end repeat
  8924.     end if
  8925.  end tell
  8926. This script copies some data from the second cell in the found set of the frontmost window to a variable, then copies that variable into the third cell of the second 
  8927. window.
  8928. To query window properties you can use the following:
  8929.  tell window 1 of application "FileMaker Pro"
  8930.      best type of window 1
  8931.      class of window 1
  8932.      default type of window 1
  8933.      bounds of window 1
  8934.      name of window 1
  8935.      index of window "windowName"
  8936.      floating of window 1
  8937.      zoomable of window 1
  8938.      zoomed of window 1
  8939.      resizable of window 1
  8940.      has close box of window 1
  8941.      has title bar of window 1
  8942.  end tell
  8943. For Frontier users:  
  8944. To get properties of obje
  8945. cts using Frontier add the following script to the FileMaker Table of the Frontier root.
  8946. on getProperty(theProperty,obj)
  8947.   theObject = globals.property(theProperty,obj)
  8948.   return(FileMaker.get(theObject))
  8949. To query window properties you can use the following:
  8950. with FileMaker
  8951.      getProperty('pbst',window[1])       -- best type of the specified window
  8952.      getProperty('pcls',window[1])       -- class of the specified window
  8953.      getProperty('deft',window[1])       -- default type of the sp
  8954. ecified window
  8955.      getProperty('pbnd',window[1])       -- bounds of the specified window
  8956.      getProperty('pnam',window[1])       -- name of the specified window
  8957.      getProperty('pvis',window[1])       -- visible of the specified window
  8958.      getProperty('pidx',window[1])       -- index of the specified window
  8959.      getProperty('isfl',window[1])       -- floating of the specified window
  8960.      getProperty('iszm',window[1])       -- zoomable of the specified window
  8961.      getProperty('pzum',win
  8962. dow[1])       -- zoomed of the specified window
  8963.      getProperty('pmod',window[1])       -- modal of the specified window
  8964.      getProperty('prsz',window[1])       -- resizable of the specified window
  8965.      getProperty('hclb',window[1])       -- has close box of the specified window
  8966.      getProperty('ptit',window[1])       -- has title bar of the specified window
  8967.  with FileMaker
  8968.      get(application[1].window[1].record[1].cell[1]))  -- data from first cell of 
  8969.                              L
  8970.                              of first record of the
  8971.                                                           frontmost window
  8972. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  8973. Windowt
  8974. Window
  8975. cWindow
  8976. Objectv
  8977. Apple events are a Macintosh Operating System technology that lets applications communicate with one another on the same Macintosh computer or over a network.  It is primarily a data transport mechanism.  Both the sending and receiving application must agree to use a mutually understood data format in order to communicate.
  8978. An example of this is the Finder.  The Finder can send four simple Apple events (also called the Required events) that all System 7-savvy applications are required to u
  8979. Onderstand:  Open Application, Open Documents, Print Documents, and Quit Application.  Because both the Finder and the System 7 application understand what is meant by these events, the appropriate actions take place when Finder sends them.  Applications can also use these events to make other applications perform the desired actions.
  8980. What are Apple Events?G
  8981. resizeable
  8982. sizeZ
  8983. titleg
  8984. typeY
  8985. unique]
  8986. unique
  8987. value]
  8988. value]
  8989. version
  8990. visible
  8991. zoomable
  8992. zoomed
  8993. aboutY
  8994. access[
  8995. applicationY
  8996. associatedZ
  8997. bestY
  8998. boundsg
  8999. calculationZ
  9000. cellZ
  9001. checkeda
  9002. classY
  9003. window
  9004. modalg
  9005. window
  9006. visibleg
  9007. typeY
  9008. uniqueZ
  9009. user[
  9010. user's]
  9011. valueZ
  9012. versionY
  9013. version
  9014. number
  9015. applicationY
  9016. visible_
  9017. whena
  9018. whether_
  9019. windowg
  9020. withZ
  9021. zoomg
  9022. zoomedg
  9023. cboolean
  9024. cchar
  9025. cenumeration
  9026. clonginteger
  9027. cobjectspecifier@
  9028. currently@
  9029. currently
  9030. documents@
  9031. position@
  9032. sort@
  9033. misc@
  9034. kaedoscript@
  9035. keyaesorttype@
  9036. query@
  9037. initial
  9038. element's
  9039. properties@
  9040. requested
  9041. information@
  9042. transaction
  9043. transaction@
  9044. currently@
  9045. deletion@
  9046. existing@
  9047. filemaker
  9048. supports
  9049. creation
  9050. cmenu
  9051. cmenuitem
  9052. intended@
  9053. mode@
  9054. name@
  9055. object@
  9056. returns
  9057. apple
  9058. event
  9059. record
  9060. typeclassinfo
  9061. data@
  9062. their@
  9063. transaction@
  9064. windows@
  9065. printdocumentU
  9066. printedU
  9067. printingI
  9068. privilegesH
  9069. probablyA
  9070. processI
  9071. processingK
  9072. productP
  9073. productsP
  9074. propertiesB
  9075. propertyE
  9076. protectedR
  9077. protectionZ
  9078. protectsH
  9079. protocolP
  9080. provideB
  9081. provided@
  9082. reasons@
  9083. request@
  9084. sales@
  9085. sample@
  9086. save@
  9087. setproperty@
  9088. successfully@
  9089. switched@
  9090. thedata@
  9091. thereby@
  9092. updating@
  9093. print
  9094. event
  9095. print
  9096. filemaker
  9097. file@
  9098. waituntilready@
  9099. what@
  9100. word@
  9101. find@
  9102. info@
  9103. size@
  9104. callsa
  9105. cannotE
  9106. cappY
  9107. caseX
  9108. catalogP
  9109. ccelZ
  9110. ccol]
  9111. cellA
  9112. cell'sZ
  9113. cellsD
  9114. cellvalueZ
  9115. central\
  9116. certainA
  9117. change[
  9118. changed]
  9119. changesX
  9120. channelsY
  9121. charE
  9122. characterF
  9123. charactersF
  9124. checka
  9125. checkedE
  9126. choicesX
  9127. choose[
  9128. clarisP
  9129. clarisworksS
  9130. classB
  9131. classesL
  9132. classinfoB
  9133. clauseO
  9134. clausesG
  9135. cleanW
  9136. clickP
  9137. clipboardQ
  9138. closeC
  9139. closedU
  9140. cmenH
  9141. cmnuH
  9142. codef
  9143. collection[
  9144. colonsZ
  9145. column]
  9146. columns]
  9147. com/productP
  9148. commandH
  9149.      This database is designed to introduce users to the support for Apple events in FileMaker Pro 2.0.  It uses a variety of layouts, each intended to display a particular kind of information.  
  9150.      When you first open this database, you are presented with the main screen, which allows you to choose from among several options.  To choose an option, click on the text or the button icon next to it.  These icons are used throughout the database to let you change the information displayed wi
  9151. thout having to return to the main screen.  The forward and backward arrow icons above switch to the next and previous records, respectively.  You can also use the layout pop-up menu in the status area, record book or scripts to move through the database.
  9152.      
  9153.      Note:  not all records in this database have data for every field.  If you encounter a blank record while browsing one layout, you have reached the end of the information given for that layout.  Choose another layout to continu
  9154. e with more information.
  9155. Using the Navigation Layouts
  9156.      
  9157. Introduction to Apple Events
  9158.      This layout is intended to provide background information about Apple events, the Apple Event Object Model, and the Apple Event Registry, as well as information about  support for Apple events in FileMaker Pro.  Each record has an informative text field as well as an (optional) example.  
  9159.      
  9160. FileMaker Objects Map
  9161.      This layout is a navigation aid for getting to the information about a 
  9162. specific Event or Object.  It displays all of the Events and Objects which are supported in FileMaker Pro 2.0, grouped according to Apple Event Suites.  Clicking on the title of an Object or Event will switch to a detailed view of the item.
  9163.      
  9164. Object Hierarchy
  9165.      This layout provides a view of the containment hierarchy in FileMaker Pro.  That is, objects appearing to the right are contained in objects to the right of them.  This containment is indicated by dotted gray lines.  Clicki
  9166. ng on the title of an Object will switch to a detailed view of that class.
  9167.      
  9168. Objects and Events List
  9169.      This layout provides a list view all of the Events and Objects which are supported in FileMaker Pro 2.0.  It provides the same infomation as the 
  9170. FileMaker Objects Map
  9171.  in a different manner.  Clicking on the title of an Object or Event will switch to a detailed view of the item.
  9172. Using the Content Layouts
  9173.      
  9174. FileMaker Events
  9175.      This layout gives detailed information about
  9176.  each Event which FileMaker Pro 2.0 supports.   The information supplied includes the event class, ID, terminology, and input  and result parameters.  The 
  9177. Examples
  9178.  field provides some samples for using the event using a fictitious syntax similar to the HyperTalk language.  The 
  9179. Notes
  9180.  field provides some additional information about the event.  Extensions to the standard parameters for events are denoted by their bold keywords.
  9181. Introv
  9182. understandh
  9183. understoodh
  9184. uniqueo
  9185. uniquelyi
  9186. university}
  9187. lessp
  9188. uppercase|
  9189. usedl
  9190. usefull
  9191. userE
  9192. user'sE
  9193. userland}
  9194. useso
  9195. usingj
  9196. usuallyi
  9197. validityv
  9198. valuek
  9199. valuesk
  9200. variesi
  9201. verbsj
  9202. verify|
  9203. version|
  9204. versions|
  9205. versus|
  9206. vertical{
  9207. very{
  9208. viewq
  9209. visible{
  9210. volume}
  9211. wantt
  9212. waysk
  9213. wellx
  9214. were|
  9215. wesley}
  9216. whath
  9217. whenh
  9218. sending
  9219. events
  9220. filemaker
  9221. performs
  9222. analysis
  9223. where{
  9224. whereas|
  9225. whether{
  9226. whichi
  9227. whilet
  9228. whosel
  9229. willE
  9230. windowi
  9231. windowsj
  9232. wish|
  9233. withh
  9234. withink
  9235. withouti
  9236. wordl
  9237. wouldy
  9238. yieldl
  9239. your}
  9240. aboutk
  9241. An Apple event consists of several components:
  9242.  event name
  9243.  event class
  9244.  event ID
  9245.  event parameters
  9246. Each component of the event is represented by a four-character code such as 'aevt' or 'oapp'.
  9247. The event name is a short description of the event. The event class groups related events together.  The event ID uniquely identifies the event.  The number of parameters and their meaning varies depending on the Apple event.  An example of a parameter is the 
  9248. direct object
  9249.  parameter 
  9250. wfor the Open Document event, which specifies the document that is to be opened.  
  9251. Parameters usually indicate the:
  9252.  object (for example, window, document, or script) on which the Apple event should act
  9253.  data to use (for example, a picture to paste)  
  9254.  desired options when performing the event (for example, with or without dialog or page 
  9255.      numbers to print)
  9256. E The Components of an Apple EventG
  9257.                                                    Apple Event Components and Examples
  9258.             Event Name          Event Class          Event ID          Parameters (vary)
  9259.             
  9260.             Open Application     'aevt'                   'oapp'            none
  9261.             Open Documents      'aevt'                   'odoc'            '----' (the documents to open)
  9262.             Print Documents     'aevt'                   'pdoc'           '----' (the documents to print)
  9263.           B
  9264.   Quit Application      'aevt'                   'quit'             none
  9265.             Do Script                 'misc'                  'dosc'           '----' (the script to perform)
  9266. Introv
  9267. nonei
  9268. notew
  9269. filemaker
  9270. support
  9271. sending
  9272. apple
  9273. eventw
  9274. nounsj
  9275. oappi
  9276. objectk
  9277. application
  9278. nonei
  9279. documents
  9280. documents
  9281. openi
  9282. recordj
  9283. parametersi
  9284. pboundsk
  9285. pbounds
  9286. pisresizeable
  9287. cdatabasek
  9288. pdoci
  9289. performi
  9290. phascloseboxk
  9291. phasclosebox
  9292. piszoomablek
  9293. phastitlebark
  9294. phastitlebar
  9295. piszoomedk
  9296. pindexk
  9297. pindex
  9298. pvisiblek
  9299. pisfloating
  9300. pismodalk
  9301. pisresizeablek
  9302. piszoomablek
  9303. piszoomedk
  9304. pnamek
  9305. printi
  9306. print
  9307. documents
  9308. documents
  9309. printi
  9310. propertiesk
  9311. properties
  9312. pname
  9313. pismodal
  9314. elements
  9315. cdocumentk
  9316. pvisiblek
  9317. quiti
  9318. application
  9319. nonei
  9320. recordj
  9321. scripti
  9322. dataj
  9323. simplel
  9324. sizej
  9325. varyi
  9326. verbsj
  9327. windowj
  9328. 10006e
  9329. 10thZ
  9330. The true power of Apple events comes not just from the standard events (or verbs) but also from the way the objects (or nouns) are defined. The objects specify the information on which the events operate (for example, windows, documents, text, scripts, or graphics). Because each application creates documents that contain different objects, standard object classes let an application manipulate the data in another application by using a standard language.
  9331. The Object Model gives you a way to
  9332.  describe the data in another application and to standardize similar objects across applications.  The Apple Events Registry contains definitions for standard objects and events.   Separating nouns and verbs in Apple events lets a relatively small set of events and objects provide a great deal of power.  For example, the Get Data event gets the data of any object  indicated in its direct parameter.
  9333. The Object ModelG
  9334.                                        Events (verbs)                         Objects (nouns)
  9335.                                          Close                                          Application
  9336.                                          Create                                        Document
  9337.                                          Delete                                        File
  9338.                                          Exists                                        Window
  9339.                   
  9340. f                       Get Data                                     Cell   
  9341.                                          Data Size                                      Layout
  9342.                                          Open                                          Record
  9343.                                          Set Data
  9344.                                          Show
  9345. Introv
  9346. truej
  9347. typeu
  9348. typesy
  9349. ukans}
  9350. undert
  9351. primarilyh
  9352. printh
  9353. privilegesE
  9354. processx
  9355. processorm
  9356. processorsm
  9357. products}
  9358. programmers}
  9359. programming}
  9360. programsm
  9361. promptingu
  9362. propertiesk
  9363. propertyp
  9364. providej
  9365. providesp
  9366. publications
  9367. publishing}
  9368. purposesl
  9369. querys
  9370. quick|
  9371. quickdrawm
  9372. quicktimey
  9373. quith
  9374. random}
  9375. random
  9376. house
  9377. electronic
  9378. publishing
  9379. 0-679-75806-2}
  9380. rangeo
  9381. reached}
  9382. read}
  9383. reason|
  9384. receivet
  9385. receivingh
  9386. recordE
  9387. recordsE
  9388. referl
  9389. takenE
  9390. technologyh
  9391. testingk
  9392. textj
  9393. thath
  9394. first
  9395. methods
  9396. specifying
  9397. object
  9398. power
  9399. apple
  9400. events
  9401. comes
  9402. standj
  9403. theiri
  9404. their
  9405. class
  9406. event
  9407. themh
  9408. thereE
  9409. theseh
  9410. thisE
  9411. throughE
  9412. togetheri
  9413. traitsk
  9414. transporth
  9415. deletej
  9416. delete
  9417. filej
  9418. different{
  9419. directsw
  9420. script
  9421. script
  9422. performi
  9423. documentj
  9424. documentsi
  9425. doesw
  9426. dosci
  9427. dropletw
  9428. elementsk
  9429. entryo
  9430. eventi
  9431. event
  9432. event
  9433. class
  9434. event
  9435. parameters
  9436. varyi
  9437. eventsj
  9438. events
  9439. verbs
  9440. objects
  9441. nounsj
  9442. everyl
  9443. exampley
  9444. examplesi
  9445. executew
  9446. existsj
  9447. exists
  9448. windowj
  9449. fieldl
  9450. fieldso
  9451. filej
  9452. filemakerk
  9453. filesy
  9454. firsto
  9455. foldery
  9456. folderpathy
  9457. cellj
  9458. howeverw
  9459. importingy
  9460. importing
  9461. single
  9462. picture
  9463. reference
  9464. using
  9465. choose
  9466. filey
  9467. following
  9468. examples
  9469. assume
  9470. entry
  9471. currp
  9472. indexl
  9473. index
  9474. document
  9475. named
  9476. fredl
  9477. itselfw
  9478. lasto
  9479. layoutj
  9480. misci
  9481. monthlyl
  9482. namei
  9483. field
  9484. total
  9485. salesl
  9486. index
  9487. relative
  9488. absolute
  9489. unique
  9490. namedl
  9491. necessaryw
  9492. In the Object Model, objects are defined by:
  9493.  their class ID (like the event ID)
  9494.  a list of properties
  9495.  a list of elements
  9496. Each occurrence of an object may have different values for its properties and elements.
  9497. An object
  9498. s properties describe the traits common to all objects in that class.  An object
  9499. s elements describe the other object classes that an object may contain.  
  9500. All objects in a given class have the same properties and elements, regardless of their data.  For example
  9501. , all windows have a size and a name, and all text has characters and a style.
  9502. In addition to describing the contents of objects, the Object Model includes reference forms, or keyforms, which are ways to describe objects of interest.  An object can be specified by its name, index (within its container object), absolute ordinal position, by testing the value of its properties, or by any application-defined method.
  9503. More About ObjectsG
  9504.                          Object Class Components of a FileMaker document window
  9505.                          Class ID:      'cwin'
  9506.                          Properties:  pName                      pIsModal                Elements:    cDocument
  9507.                                                  pBounds                   pIsResizeable                               cDatabase
  9508.                                                  pHasCloseBox          pIsZoomable
  9509.                                                  pHasTitleBar       B
  9510.      pIsZoomed
  9511.                                                  pIndex                       pVisible
  9512.                                                  pIsFloating
  9513. Introv
  9514. havek
  9515. hayden}
  9516. hayden
  9517. books
  9518. 1-56830-075-1}
  9519. helpp
  9520. here{
  9521. hierarchicalx
  9522. highly}
  9523. house}
  9524. ignoredt
  9525. implicitt
  9526. importantr
  9527. addition
  9528. sending
  9529. apple
  9530. events
  9531. filemaker
  9532. scripts
  9533. object
  9534. model
  9535. objects
  9536. defined
  9537. includeu
  9538. includesk
  9539. incompletet
  9540. indexk
  9541. indicatei
  9542. indicatedj
  9543. infoE
  9544. informationj
  9545. inheritm
  9546. inputs
  9547. intentl
  9548. interestk
  9549. intoE
  9550. invalidt
  9551. involvedt
  9552. involvess
  9553. issuesr
  9554. issuingt
  9555. items
  9556. itemss
  9557. justj
  9558. keyformsk
  9559. languagej
  9560. latert
  9561. launchesv
  9562. layouto
  9563. layoutsE
  9564. letsh
  9565. letterl
  9566. lifeo
  9567. likek
  9568. linearlyo
  9569. listk
  9570. listedr
  9571. listss
  9572. localE
  9573. locallyE
  9574. machineE
  9575. macintoshh
  9576. mailm
  9577. mainq
  9578. makeh
  9579. makesp
  9580. manipulatej
  9581. The first two methods of specifying an object
  9582. by name and by index
  9583. are called simple object specifiers.  Any application that supports the Object Model must support simple specifiers for accessing all of its objects.  Complex object specifiers are more powerful, but may not be supported for all objects.
  9584. Object specifiers can also refer to a list of objects (for example, 
  9585. every record
  9586. ).  Combine object specifiers with events to yield some useful results.  
  9587. Note: The object specifiers in 
  9588. the following examples are represented as English-like statements for the purposes of clarity; the actual syntax will depend on the scripting language being used.
  9589. Examples:
  9590. do script named "Generate Monthly Report"
  9591. get the first word of paragraph 6 of the document named "Letter of Intent"
  9592. get data for every record whose field named "Sales Total" 
  9593.  50,000
  9594. create new record in the database named "Personnel"
  9595. Specifying ObjectsG
  9596.                                           Simple Object Specifiers
  9597.                                                         Name:  field name "Total Sales"
  9598.                                                         Index:  word 5 of document named "Fred"
  9599.                                           Complex Object Specifiers
  9600.                                                         Range:  layout 1 thru 3
  9601.                                                         Ordinal:  every record
  9602.              BX                                           Test:  window whose title is "Monthly Report"
  9603. Introv
  9604. referencek
  9605. references}
  9606. regardlessk
  9607. registryj
  9608. relatedi
  9609. related
  9610. fields
  9611. placed
  9612. layouts
  9613. accessed
  9614. apple
  9615. relationship{
  9616. relativeo
  9617. relativelyj
  9618. relied|
  9619. remaino
  9620. rename|
  9621. renaming|
  9622. repeating{
  9623. reportl
  9624. representedi
  9625. represents{
  9626. requesto
  9627. requestsp
  9628. require|
  9629. requiredh
  9630. results
  9631. resultsl
  9632. retail}
  9633. retrieveq
  9634. returnq
  9635. return-separatedy
  9636. returnedr
  9637. returnss
  9638. reusedo
  9639. revised|
  9640. rewrite|
  9641. rewritten|
  9642. rows{
  9643. running}
  9644. salesl
  9645. sameh
  9646. schneider}
  9647. scripti
  9648. scripter's}
  9649. specifiedk
  9650. specifierp
  9651. specifiersl
  9652. specifiesi
  9653. specifyj
  9654. specifyingl
  9655. stackv
  9656. standardj
  9657. standardizej
  9658. standardsm
  9659. statet
  9660. state-dependentt
  9661. statemento
  9662. statementsl
  9663. stepu
  9664. storedw
  9665. stylek
  9666. subsetm
  9667. substitutesp
  9668. suchi
  9669. suitem
  9670. availableE
  9671. becauseh
  9672. beeno
  9673. beforeo
  9674. behaviort
  9675. beingl
  9676. bestu
  9677. between|
  9678. bitsm
  9679. blank|
  9680. board}
  9681. boards}
  9682. books}
  9683. bothh
  9684. bringv
  9685. brings|
  9686. browseE
  9687. buttonu
  9688. buttonsE
  9689. using
  9690. objects
  9691. other
  9692. applications
  9693. california}
  9694. mstancest
  9695. clarityl
  9696. classi
  9697. classesj
  9698. clicku
  9699. clientt
  9700. clipboardv
  9701. codei
  9702. combinel
  9703. comesj
  9704. commandst
  9705. commonk
  9706. communicateh
  9707. compilationw
  9708. compilew
  9709. complexl
  9710. componenti
  9711. componentsi
  9712. computerh
  9713. consideredp
  9714. consistsi
  9715. containj
  9716. containerk
  9717. containmentp
  9718. containsj
  9719. contentsk
  9720. copyv
  9721. coreE
  9722. correspondq
  9723. correspondsq
  9724. countq
  9725. createE
  9726. createsj
  9727. creatingE
  9728. creationr
  9729. creatoru
  9730. ctableq
  9731. currentp
  9732. customo
  9733. object
  9734. class
  9735. components
  9736. filemaker
  9737. document
  9738. windowk
  9739. objectsj
  9740. obtainy
  9741. odoci
  9742. openi
  9743. application
  9744. nonei
  9745. documents
  9746. documents
  9747. openi
  9748. recordj
  9749. ordinall
  9750. ordinal
  9751. every
  9752. recordl
  9753. otherw
  9754. parametersi
  9755. pboundsk
  9756. pbounds
  9757. pisresizeable
  9758. cdatabasek
  9759. pdoci
  9760. performi
  9761. loseboxk
  9762. phasclosebox
  9763. piszoomablek
  9764. phastitlebark
  9765. phastitlebar
  9766. piszoomedk
  9767. picturey
  9768. picture
  9769. reference
  9770. examplesy
  9771. picturefiley
  9772. picturefilerefy
  9773. pindexk
  9774. pindex
  9775. pvisiblek
  9776. pisfloating
  9777. pismodalk
  9778. pisresizeablek
  9779. piszoomablek
  9780. piszoomedk
  9781. pnamek
  9782. portal{
  9783. printi
  9784. print
  9785. documents
  9786. documents
  9787. printi
  9788. product{
  9789. propertiesk
  9790. properties
  9791. pname
  9792. pismodal
  9793. elements
  9794. cdocumentk
  9795. pvisiblek
  9796. quiti
  9797. application
  9798. nonei
  9799. rangel
  9800. range
  9801. layout
  9802. recordj
  9803. recordso
  9804. referenceo
  9805. reference
  9806. exampleso
  9807. sizej
  9808. someo
  9809. specifiersl
  9810. stateo
  9811. statements{
  9812. stepw
  9813. stringy
  9814. supportw
  9815. syntax|
  9816. telly
  9817. testl
  9818. window
  9819. whose
  9820. title
  9821. monthly
  9822. reportl
  9823. thatp
  9824. there{
  9825. these{
  9826. thisw
  9827. througho
  9828. thrul
  9829. titlel
  9830. totall
  9831. typey
  9832. uniqueo
  9833. used{
  9834. usingy
  9835. varyi
  9836. verbsj
  9837. ways{
  9838. whosel
  9839. will|
  9840. windowj
  9841. withy
  9842. wordl
  9843. yorko
  9844. 10006e
  9845. 10thZ
  9846. Functionally related objects and events are grouped together in suites:  
  9847.   the Required suite
  9848.   the Core suite (common to all applications)
  9849.   the Text suite (for word processors)
  9850.   the QuickDraw Graphics suite (for graphics programs)
  9851.   the Table suite (for tabular data)
  9852.   the Database suite (for database programs)
  9853.   the Miscellaneous Standards suite (for the miscellaneous bits, like scripts, that some 
  9854.       applications support)
  9855. All suites inherit the events and obj
  9856. Rects in the Core suite.  Some applications define extensions to the events and/or objects of a suite.  Applications may support an entire suite or a subset of it.  For example, a word processor might support the Core and Text suites fully but only support the portions of the Table or Database suites necessary to perform a mail merge.  
  9857. Apple Event SuitesG
  9858. Introv
  9859. suitesE
  9860. suppliedr
  9861. supportE
  9862. supportedl
  9863. supportsE
  9864. symbol|
  9865. symbols|
  9866. syntaxl
  9867. systemh
  9868. tab-separatedy
  9869. tableE
  9870. tabularm
  9871. takeh
  9872. takenE
  9873. talk}
  9874. targetu
  9875. tasks
  9876. technical}
  9877. technicallyq
  9878. technologyh
  9879. telephone}
  9880. terminology|
  9881. testo
  9882. testingk
  9883. textj
  9884. thans
  9885. thath
  9886. ccolumn
  9887. elements
  9888. ctable
  9889. object
  9890. correspond
  9891. tabular
  9892. datam
  9893. suite
  9894. processorsm
  9895. power
  9896. apple
  9897. events
  9898. comes
  9899. standj
  9900. theiri
  9901. their
  9902. class
  9903. event
  9904. themh
  9905. thereE
  9906. thereforeq
  9907. theseh
  9908. theyo
  9909. thisE
  9910. thoseq
  9911. throughE
  9912. togetheri
  9913. totall
  9914. traitsk
  9915. transporth
  9916. fullym
  9917. functionallym
  9918. functionally
  9919. related
  9920. objects
  9921. events
  9922. grouped
  9923. togetherm
  9924. gaea}
  9925. general}
  9926. generatel
  9927. generatesq
  9928. getsj
  9929. getting{
  9930. givenk
  9931. givesE
  9932. goodman}
  9933. goodman's}
  9934. graphicalr
  9935. graphicsj
  9936. greatj
  9937. groupedm
  9938. groupsi
  9939. guessu
  9940. guide}
  9941. handbook}
  9942. handlerv
  9943. FileMaker Pro supports nearly all of the events and objects defined in the Core, Table, Database, and Miscellaneous suites.  Together, these events are called the FileMaker suite. The Apple events support of FileMaker Pro gives access to most of the features available in Browse and Find modes.  Through Apple events, you can create and delete records, change layouts, perform finds, get and set record data, and execute FileMaker Pro scripts.  There is no support for defining new fields, alte
  9944. Uring field definitions, creating or modifying layouts or scripts, or setting up access privileges.
  9945. FileMaker Pro only accepts Apple events from the local computer.  To access data on a networked FileMaker Pro database, the user must first open the database locally.  The user
  9946. s access privileges are taken into account for all Apple events.
  9947. The FileMaker SuiteG
  9948. Introv
  9949. components
  9950. apple
  9951. eventi
  9952. filemaker
  9953. suiten
  9954. object
  9955. modelj
  9956. transactions
  9957. typesy
  9958. whath
  9959. apple
  9960. eventsh
  9961. capplication
  9962. ccell
  9963. ccolumn
  9964. cdatabase
  9965. cdocument
  9966. cfilemakerscript
  9967. cmenu
  9968. cmenuitem
  9969. crequest
  9970. ctable
  9971. cwindow
  9972. application
  9973. database
  9974. document
  9975. field
  9976. filemaker^
  9977. FileMaker Pro supports simple object specifiers (the name and index keyforms) for all objects.  Additionally, FileMaker Pro supports complex object specifiers (relative position, absolute position, range, and test reference forms), and one custom reference form (unique ID) for the following objects:  FileMaker Script, Layout, Field, Record, Request, and Cell.  
  9978. The custom reference form, formUniqueID uses a persistent, unique ID to identify the indicated object.  This reference form is th
  9979. e most efficient way to refer to FileMaker Pro objects and will remain unique for the life of the database. Once an object has been deleted, its ID is never reused.  
  9980. Although IDs are unique, they are not always linearly sequential.  For example, the ID of one record might be 127 and the next sequential record ID might be 32896.  To obtain an ID of an object sequentially, use the reference forms "before" and "after", as in the statement go to record after record ID 127.
  9981. Supported Reference FormsG
  9982. Reference Form Examples        
  9983. Name                Index        Relative                Absolute    Unique ID
  9984.     cell "First Name"        cell 1        cell before cell "First Name"        first cell    cell ID {1,1}
  9985.     layout "Data Entry"    record 6    record after current record        last record    record ID 6
  9986.     field "Last Name"        field 4        record before current record        some record    field ID 7
  9987. Test                                Range
  9988.     every record                        records 1 through 5
  9989.     name of every field                    fields 3 through 4
  9990.     every record whose cell "State" = "CA"            cells 1 thru 2 of record 4
  9991.     Bcevery record whose cell "State" = "NY" and
  9992.         cells 2 thru 3 of field 1
  9993.         cell "City" = "New York"
  9994. Introv
  9995. filemaker
  9996. supports
  9997. simple
  9998. object
  9999. specifiers
  10000. filemaker
  10001. supports
  10002. events
  10003. objects
  10004. defined
  10005. filesy
  10006. findE
  10007. finderh
  10008. findsE
  10009. firstE
  10010. focuses}
  10011. followingl
  10012. fonty
  10013. information
  10014. about
  10015. apple
  10016. events
  10017. applescript
  10018. frontier}
  10019. foregroundv
  10020. formo
  10021. formath
  10022. formatsy
  10023. formattedr
  10024. formsk
  10025. formuniqueido
  10026. forum}
  10027. forums}
  10028. foundp
  10029. fourh
  10030. four-characteri
  10031. fromE
  10032. front|
  10033. frontier}
  10034. frontmostp
  10035. full}
  10036. absoluteo
  10037. access{
  10038. accomplishw
  10039. additiony
  10040. aevti
  10041. aftero
  10042. aliasy
  10043. applei
  10044. apple
  10045. event
  10046. components
  10047. examplesi
  10048. applescriptw
  10049. appletw
  10050. applicationi
  10051. assumep
  10052. based{
  10053. been{
  10054. beforeo
  10055. between{
  10056. cdatabasek
  10057. cdocumentk
  10058. cellj
  10059. cellso
  10060. choices|
  10061. choosey
  10062. cityo
  10063. classi
  10064. class
  10065. cwink
  10066. closej
  10067. close
  10068. applicationj
  10069. coercey
  10070. commandy
  10071. commandsw
  10072. complexl
  10073. complex
  10074. object
  10075. specifiersl
  10076. componentsi
  10077. containing{
  10078. contains|
  10079. createj
  10080. create
  10081. documentj
  10082. currento
  10083. customersp
  10084. cwink
  10085. dataj
  10086. layoutj
  10087. database{
  10088. databases{
  10089. date|
  10090. defined{
  10091. FileMaker Pro provides 
  10092. default containment
  10093.  to help make scripts shorter and determine which object to use if none is specified.  Normally, to specify an object, you must explicitly provide the containment of the object.  Default containment means that FileMaker Pro makes assumptions about the containment path.  For example, FileMaker Pro will assume the frontmost window, document, database, or layout if an object specifier is not given.
  10094. Note that if no record is specified, FileMaker Pro
  10095.  assumes the first record, not the current record.  To access the current record, use the current record property of a database. FileMaker Pro always assumes the current found set unless you explicitly specify the database object, in which case all records from the database are considered.  Cells and fields of requests must be specified explicitly.
  10096.   When this object has not been specified         Default containment substitutes
  10097.         record                    record 1            
  10098.         layout                    current layout    
  10099.         wind
  10100. Cpow                    frontmost window
  10101.         database                    frontmost database
  10102.         document                    frontmost document (current found set)
  10103. Default ContainmentG
  10104. In the following examples, assume that "Data Entry" is the current layout, "Customers" is the frontmost window, and record 5 is the current record.
  10105. cell 1            cell 1 of record 1 of layout "Data Entry" of document "Customers" 
  10106. field 1            field 1 of layout "Data Entry" of document "Customers" 
  10107. record 1        record 1 of layout "Data Entry" of document "Customers" 
  10108. current record    record 5 of layout "Data Entry" of document "Customers" 
  10109. current layout        layout "Data Entry" of document "Customers" 
  10110. Introv
  10111. meanth
  10112. mechanismh
  10113. menlo}
  10114. menur
  10115. menusu
  10116. mergem
  10117. message}
  10118. messages}
  10119. methodk
  10120. methodsl
  10121. microsoftv
  10122. mightm
  10123. mind{
  10124. minimizes
  10125. miscellaneousE
  10126. modalt
  10127. mode|
  10128. modelj
  10129. modesE
  10130. modified|
  10131. modifyingE
  10132. month}
  10133. monthlyl
  10134. morel
  10135. mostE
  10136. moviesy
  10137. mucht
  10138. mustE
  10139. mutuallyh
  10140. namei
  10141. namedl
  10142. navigatey
  10143. navigatorE
  10144. nearlyn
  10145. necessarym
  10146. need|
  10147. networkh
  10148. networkedE
  10149. nevero
  10150. nexto
  10151. nonep
  10152. normalx
  10153. normallyp
  10154. notel
  10155. onceo
  10156. onlyE
  10157. openE
  10158. openedi
  10159. operatej
  10160. operatingh
  10161. optionsi
  10162. A FileMaker Pro database technically has only one table.  However, for the purposes of Apple events, it is useful to map the cTable object class to layouts in FileMaker Pro databases.  Therefore, each cTable object corresponds to a layout.  The fields on a layout correspond to the cColumn elements in the cTable object.  Sending a Count event for a cTable object will return the number of layouts in the database.  Get Data can also be used on a layout to retrieve data only for those fields t
  10163. hat appear on the layout.  
  10164. To access all of the fields in a database, FileMaker Pro defines a special layout which is the true table for the database.  Using 0 as the index, or the database name as the cTable name, generates an object specifier to the main table of a FileMaker Pro database.  The value of the 
  10165. pKind
  10166.  property of  a cTable object is 
  10167. table
  10168.  for layout 0, and 
  10169.  for all other layouts.
  10170. FileMaker Pro LayoutsG
  10171. Introv
  10172. orderE
  10173. orderingr
  10174. ordinalk
  10175. otherh
  10176. overh
  10177. pagei
  10178. paragraphl
  10179. parameteri
  10180. parametersi
  10181. park}
  10182. parties}
  10183. password|
  10184. pastei
  10185. pathp
  10186. pausedt
  10187. performE
  10188. performedw
  10189. performingi
  10190. performsv
  10191. persistento
  10192. personnell
  10193. picturei
  10194. picture
  10195. managementy
  10196. pkindq
  10197. placeh
  10198. placed{
  10199. points{
  10200. pop-upr
  10201. portal{
  10202. portalsy
  10203. portionw
  10204. portionsm
  10205. positionk
  10206. possibles
  10207. possiblys
  10208. powerj
  10209. powerfull
  10210. pre-sales}
  10211. preservey
  10212. previous|
  10213. previously|
  10214. The cColumn elements of a cTable object correspond to the fields appearing on a FileMaker Pro layout.  It is important to note that, for Apple events, the order of these fields is the creation order (the order in which they are listed in the Define Fields dialog when 
  10215. creation order
  10216.  is selected from the view order pop-up menu), not the tab order or the graphical ordering in which they may appear on the layout.
  10217. If an application issues a Get Data event on a record, request, or layout, the
  10218. R data will be returned using the creation order of the fields.  If the field is a date, time, or number field, the data will be returned as formatted on the layout (as set in the Date, Time, and Number Format dialogs).
  10219. When using the Set Data event with a record, request, or layout, the data should be supplied in field creation order.
  10220. Fields and Field OrderG
  10221. Introv
  10222. suite
  10223. common
  10224. applicationsm
  10225. database
  10226. suite
  10227. database
  10228. programsm
  10229. first
  10230. methods
  10231. specifying
  10232. object
  10233. miscellaneous
  10234. standards
  10235. suite
  10236. miscellaneous
  10237. bitsm
  10238. object
  10239. model
  10240. macintosh
  10241. developer
  10242. note}
  10243. quickdraw
  10244. graphics
  10245. suite
  10246. graphics
  10247. programsm
  10248. required
  10249. suitem
  10250. table
  10251. suite
  10252. tabular
  10253. datam
  10254. applescript}
  10255. suite
  10256. processorsm
  10257. power
  10258. apple
  10259. events
  10260. comes
  10261. standj
  10262. theiri
  10263. their
  10264. class
  10265. event
  10266. themh
  10267. thereE
  10268. thereforeq
  10269. theseh
  10270. theyo
  10271. third}
  10272. thisE
  10273. thoseq
  10274. three{
  10275. throughE
  10276. tiffy
  10277. timer
  10278. togetheri
  10279. toll-free}
  10280. toolkit}
  10281. totall
  10282. traitsk
  10283. transactiont
  10284. transactionst
  10285. transfery
  10286. transferringy
  10287. transporth
  10288. treatsy
  10289. triggerv
  10290. and/orm
  10291. anotherh
  10292. apda}
  10293. appearq
  10294. appearingr
  10295. appearsu
  10296. appleE
  10297. apple
  10298. event
  10299. registry
  10300. standard
  10301. suites}
  10302. apple
  10303. events
  10304. macintosh
  10305. operating
  10306. system
  10307. technology
  10308. apple
  10309. programmers
  10310. developers
  10311. association
  10312. apda}
  10313. applelink}
  10314. applescriptv
  10315. applescript
  10316. language
  10317. guide
  10318. english
  10319. dialect}
  10320. appletv
  10321. applicationh
  10322. application-definedk
  10323. applicationsh
  10324. applications
  10325. supportm
  10326. applied|
  10327. appropriateh
  10328. april}
  10329. april
  10330. 1991}
  10331. assigned|
  10332. associated|
  10333. association}
  10334. assumep
  10335. assumed|
  10336. assumesp
  10337. assumptionsp
  10338. assurance}
  10339. attemptt
  10340. automatically|
  10341. FileMaker Pro accepts lists as parameters for most events.  This makes it possible to minimize the number of events necessary to perform a task that involves several objects.  For example, sending a list of object specifiers (possibly of different classes) as the direct parameter of the Get Data event causes FileMaker Pro to return a list as the result.  The order of items in the list corresponds to the matching input parameters.
  10342. FileMaker Pro also returns lists if the result of a query iB
  10343. s more than one item.  For example, the Apple event equivalent to the statement:
  10344.     get the name of every FileMaker script
  10345. might yield:
  10346.     {"script 1", "find and sort", "Generate report", "script 4"}
  10347. Lists as ParametersG
  10348. Introv
  10349. filemaker
  10350. accepts
  10351. lists
  10352. parameters
  10353. events
  10354. filemaker
  10355. receive
  10356. input
  10357. apple
  10358. events
  10359. sources
  10360. filemaker
  10361. provides
  10362. default
  10363. containment
  10364. scrip
  10365. filemaker
  10366. scripts
  10367. apple
  10368. events
  10369. other
  10370. applicau
  10371. filemaker
  10372. supports
  10373. nearly
  10374. events
  10375. objects
  10376. lists
  10377. parameterss
  10378. menusx
  10379. modelj
  10380. morek
  10381. about
  10382. filemaker
  10383. scriptsv
  10384. about
  10385. objectsk
  10386. moviesy
  10387. objectj
  10388. objectsk
  10389. orderr
  10390. parameterss
  10391. performingw
  10392. performing
  10393. applescript
  10394. commands
  10395. filemaker
  10396. scriptsw
  10397. picturesy
  10398. pictures
  10399. movies
  10400. sounds
  10401. typesy
  10402. previous|
  10403. referenceo
  10404. references
  10405. relational{
  10406. relational
  10407. access{
  10408. scriptsu
  10409. sendingu
  10410. sending
  10411. apple
  10412. events
  10413. filemaker
  10414. scriptsu
  10415. soundsy
  10416. specifyingl
  10417. specifying
  10418. objectsl
  10419. suiten
  10420. suitesm
  10421. supportedo
  10422. supported
  10423. reference
  10424. formso
  10425. FileMaker Pro may receive input from Apple events sources other than the user.  Because much of the behavior of FileMaker Pro is state-dependent, an application might want to ensure the state of a database before issuing a series of related commands.  To achieve this, FileMaker Pro supports the notion of Apple events transactions.  Note that Apple event transactions are not the same as database transactions, which FileMaker Pro does not support.  
  10426. Apple event transactions allow an applica
  10427. tion to establish an exclusive dialog with FileMaker Pro.  While engaged in a transaction, Apple events from other transactions are ignored.  An application should use transactions only while necessary, and minimize their duration.
  10428. There may be some circumstances under which the user is considered to be involved in a transaction.  For example, a user is in an implicit transaction if she is executing a FileMaker Pro script (unless the script is paused), in a modal dialog, or editing a reco
  10429. rd which has incomplete or invalid data.  In these cases, an attempt to access the database via Apple events will fail.  The client application should try again at a later time.
  10430. TransactionsG
  10431. Introv
  10432. FileMaker Pro scripts can send Apple events to other applications.  To do this, add a Send Apple Event step to a FileMaker Pro script and click on the Specify button.  An Open File dialog appears, prompting you for a target file for the Apple event.  Depending on the type and creator of the target file, FileMaker Pro chooses the event class and ID with a 
  10433. best guess
  10434.  of the Apple event to send.  Pop-up menus let you change these values if another event is desired.  
  10435. If a document file was
  10436.  chosen, FileMaker Pro sends the indicated event, with the document
  10437. s alias as the direct parameter ('----').  If the target is an application, you can choose from several options what text to send as the direct parameter.  FileMaker Pro can only include one parameter with an event.
  10438. E/Sending Apple Events from FileMaker Pro ScriptsG
  10439. Introv
  10440. When sending events, FileMaker Pro performs no analysis on the event class, event ID, or parameter text to ensure their validity.  Ensuring validity is up to the FileMaker Pro database designer.  When the script is executed, FileMaker Pro launches the target application, if necessary, and sends the event.
  10441. When sending an Apple event from a FileMaker Pro script, the designer can select from checkboxes to send the contents of a field from the current record as the direct parameter, bring th
  10442. event
  10443. classi
  10444. event
  10445. event
  10446. namei
  10447. event
  10448. parametersi
  10449. eventsE
  10450. events/applescript}
  10451. everyl
  10452. exampleh
  10453. examplesl
  10454. excelv
  10455. exchangingy
  10456. exclusivet
  10457. executeE
  10458. executedv
  10459. executingt
  10460. executionv
  10461. exist{
  10462. existingx
  10463. explicitlyp
  10464. extensionsm
  10465. externalx
  10466. extra{
  10467. failt
  10468. featuresE
  10469. fieldE
  10470. fieldsE
  10471. fileu
  10472. filemakerE
  10473. 'e target application to the foreground, and copy the results of the script to the Clipboard.
  10474. For example, it is possible to open an AppleScript applet, ask Microsoft Excel to execute an Excel script, trigger a HyperCard stack handler, or send HyperTalk text directly to HyperCard for execution.
  10475. E More About FileMaker Pro ScriptsG
  10476. Introv
  10477. In addition to sending Apple events, FileMaker Pro scripts can now compile and perform AppleScript statements stored within a script or within the contents of a field on the current record.  
  10478. To do this, add a Perform AppleScript step to a FileMaker Pro script and click on the Specify button. To perform the same commands each time the script is run, type up to 32K of text into the script text portion of the script step.  FileMaker Pro will compile the script when you click OK and will not
  10479. ify you of any compilation errors.
  10480. To perform different AppleScript commands each time the script is run, click the specify field button and select a field which contains AppleScript commands.  FileMaker Pro will compile the commands when the script is performed.
  10481. E:Performing AppleScript Commands from FileMaker Pro ScriptsG
  10482. Note that FileMaker Pro does not support sending Apple events or AppleScript commands to itself through ScriptMaker. To do this, it is necessary to create an applet, droplet, or scripting application that directs commands at FileMaker Pro.  You can, however, use the Perform AppleScript step to execute a routine or event in the other scripting application that can accomplish this. 
  10483. Introv
  10484. scriptingl
  10485. scripting-related}
  10486. scriptsE
  10487. scroll{
  10488. sections}
  10489. selectv
  10490. selectedr
  10491. self-paced}
  10492. sendh
  10493. sendingh
  10494. sendsh
  10495. senty
  10496. separate{
  10497. separated{
  10498. separatingj
  10499. sequentialo
  10500. sequentiallyo
  10501. seriest
  10502. settingE
  10503. severali
  10504. shorti
  10505. shorterp
  10506. shouldi
  10507. show|
  10508. similarj
  10509. similarly{
  10510. simpleh
  10511. site}
  10512. sizek
  10513. smallj
  10514. software}
  10515. somel
  10516. something|
  10517. sorts
  10518. sorting|
  10519. sos-appl}
  10520. soundy
  10521. sourcey
  10522. sourcest
  10523. specialq
  10524. specifiedk
  10525. specifierp
  10526. specifiersl
  10527. specifiesi
  10528. specifyj
  10529. specifyingl
  10530. stackv
  10531. standardj
  10532. standardizej
  10533. standardsm
  10534. statet
  10535. state-dependentt
  10536. statemento
  10537. statementsl
  10538. stepu
  10539. still|
  10540. storey
  10541. storedw
  10542. stringy
  10543. stylek
  10544. styledy
  10545. subject}
  10546. scriptmakerw
  10547. scripts|
  10548. scripts
  10549. following
  10550. statements
  10551. revise|
  10552. sendingw
  10553. dataj
  10554. shoes{
  10555. simplel
  10556. simple
  10557. object
  10558. specifiersl
  10559. singley
  10560. By using the Menu and Menu Item objects, other applications can create menus in FileMaker Pro, as well as send Do Menu events to the existing menus of FileMaker Pro.  FileMaker Pro supports the addition of custom menus under the External hierarchical menu item in the Scripts menu.  When an application creates a new menu or menu item, it sends a Create event with an initial data parameter specifying the properties of the new item.  
  10561. The properties of the menu item that should be set with t
  10562. his event are: 
  10563. 1)  the Notify Address property (0 for normal FileMaker Pro menus).  This should be the process ID of the application that will be notified when the new menu item is selected.
  10564. 2)  the Unique ID property. 
  10565. When the menu item is chosen, FileMaker Pro sends a Menu Selected event (class ID: kMEN, event ID: kMIS) to the target application, with the Unique ID and Notify Address from the chosen menu. 
  10566. External MenusG
  10567. Introv
  10568. howeverq
  10569. hypercardv
  10570. hypertalkv
  10571. identifier{
  10572. identifiesi
  10573. identifyo
  10574. ignoredt
  10575. imagey
  10576. implicitt
  10577. importantr
  10578. importedy
  10579. addition
  10580. defining
  10581. standard
  10582. objects
  10583. events
  10584. thaty
  10585. addition
  10586. sending
  10587. apple
  10588. events
  10589. filemaker
  10590. scripts
  10591. order
  10592. advantage
  10593. capabilities
  10594. object
  10595. model
  10596. objects
  10597. defined
  10598. includeu
  10599. includesk
  10600. including{
  10601. incompletet
  10602. indexk
  10603. indicatei
  10604. indicatedj
  10605. individual{
  10606. infoE
  10607. infocenter}
  10608. informationj
  10609. inheritm
  10610. initialx
  10611. inputs
  10612. insidey
  10613. interapplication}
  10614. interestk
  10615. intoE
  10616. invalidt
  10617. involvedt
  10618. involvess
  10619. isbn}
  10620. issuesr
  10621. issuingt
  10622. justj
  10623. keep{
  10624. keyformsk
  10625. calledh
  10626. calling}
  10627. canada}
  10628. capabilities|
  10629. cascading{
  10630. casep
  10631. casest
  10632. causess
  10633. ccolumnq
  10634. cello
  10635. cellsp
  10636. changeE
  10637. channels}
  10638. chapter}
  10639. charactersk
  10640. checkboxesv
  10641. choicesy
  10642. chooseu
  10643. choosesu
  10644. chosenu
  10645. circumstancest
  10646. claris}
  10647. clarityl
  10648. classi
  10649. classesj
  10650. classroom-based}
  10651. clicku
  10652. clientt
  10653. clipboardv
  10654. codei
  10655. coerciony
  10656. colons{
  10657. combinel
  10658. comesj
  10659. commandy
  10660. commandst
  10661. commonk
  10662. communicateh
  10663. communication}
  10664. company}
  10665. compilationw
  10666. compilew
  10667. compiled|
  10668. complexl
  10669. componenti
  10670. componentsi
  10671. compuserve}
  10672. computerh
  10673. computer's}
  10674. consideredp
  10675. consistsi
  10676. contact}
  10677. contacts{
  10678. containj
  10679. containerk
  10680. containmentp
  10681. created{
  10682. createsj
  10683. creatingE
  10684. creationr
  10685. creatoru
  10686. ctableq
  10687. currentp
  10688. currently{
  10689. customo
  10690. notifiedx
  10691. notifyw
  10692. notiont
  10693. nounsj
  10694. numberi
  10695. numbersi
  10696. oappi
  10697. objecti
  10698. object'sk
  10699. objectsE
  10700. obtaino
  10701. occurrencek
  10702. offerings}
  10703. ofteny
  10704. onceo
  10705. online}
  10706. onlyE
  10707. openE
  10708. openedi
  10709. opening|
  10710. operatej
  10711. operatingh
  10712. optiony
  10713. optionsi
  10714. kmenx
  10715. kmisx
  10716. languagej
  10717. largey
  10718. latert
  10719. launchesv
  10720. layouto
  10721. layout-specific{
  10722. layoutsE
  10723. letsh
  10724. letterl
  10725. lifeo
  10726. likek
  10727. linearlyo
  10728. listk
  10729. listedr
  10730. listss
  10731. listserv}
  10732. localE
  10733. locallyE
  10734. longer|
  10735. look|
  10736. lowercase|
  10737. macclaris}
  10738. macdev}
  10739. machineE
  10740. macintoshh
  10741. macscrpt}
  10742. mailm
  10743. mailing}
  10744. mainq
  10745. makeh
  10746. makesp
  10747. managementy
  10748. manager}
  10749. managingy
  10750. manipulatej
  10751. externalx
  10752. external
  10753. menusx
  10754. fieldr
  10755. fieldsr
  10756. fields
  10757. field
  10758. orderr
  10759. filemakern
  10760. filemaker
  10761. layoutsq
  10762. formso
  10763. fromu
  10764. layoutsq
  10765. listss
  10766. In addition to defining the standard objects and events that are sent, the Apple Events Registry also defines standard data types for exchanging information.  Some of these types are the same as the common Clipboard formats that most applications already understand (text, picture, sound, QuickTime).
  10767. Picture Management
  10768. When managing large data types such as TIFF files, EPS files, or QuickTime movies, it is often more efficient to use the Clipboard than to get the data of the object via App
  10769. le events.  In this case, use the Go To event to navigate to a container field along with the Copy event to transfer the object to the Clipboard. When transferring data via the Clipboard, it is necessary to activate the target and source applications.
  10770. It also possible using Apple events, to set a reference to a picture file inside a container field 
  10771.  for example,  set cell 1 to file "Macintosh HD: My Picture".  FileMaker Pro treats the image as if it was imported using the "store file ref
  10772. erence" option. Note: the reference to the picture must be of type "file".
  10773. Data Types & Coercion
  10774. It is possible to get and set styled data with FileMaker Pro cells using the "styled text" coercion. For example, the following script command would retrieve data from a cell and preserve all font and style information:  cell 1 as styled text.
  10775. FileMaker also supports coercion of data to text so that data can be returned in a tab-separated format similar to what is copied to the clipboard wheD
  10776. n performing a Copy Record script step. For example, to get a return-separated string of all the values within a value list use a command such as choices of cell 1 as text.  This can also be used to return records with portals in a tab-separated format.
  10777. 9E(Pictures, Movies, Sounds, and Data TypesG
  10778. Picture File Reference Examples
  10779. Importing a single picture file reference using choose file
  10780.     set cell "Picture Field" of record 1 to file ((choose file) as string)
  10781. Note:  In this example, "choose file" returns an alias, so it is necessary to coerce the result to type "file."
  10782. Importing a folder of picture files
  10783. set folderPath to "Macintosh HD:Picture Folder:"
  10784. repeat with pictureFile in (list folder folderPath)
  10785.     set pictureFileRef to (folderPath & pictureFile)
  10786.     tell application "FileMakerB
  10787.  Pro"
  10788.         set newRecord to create record
  10789.         set cell "Picture Field" of newRecord to file (pictureFileRef)
  10790.     end tell
  10791. end repeat
  10792. Note: The "list folder" command from the File Commands scripting addition to obtain a list of  files from a folder.  
  10793. Introv
  10794. kAEDatabaseSuiteZ
  10795. 'DATA'\
  10796. kAESort]
  10797. 'SORT'^
  10798. keyDirectObject
  10799. keyAESortElement
  10800. keyAESortType_
  10801. typeObjectSpecifier
  10802. typeObjectSpecifier
  10803. typeEnumeration`
  10804.  a,The layout with which to display the results
  10805. The fields on which to sort
  10806. The order in which to sortf
  10807. FileMaker Pro sorts the currently found records.
  10808. If no "direction" parameter is specified, FileMaker Pro performs the sort in ascending order.
  10809. Note:  The user must have read access for all fields specified in the event.g3Sorts the indicated layout by the specified fields.h
  10810. in orderk
  10811. '----'
  10812. 'SRTE'
  10813. 'SRTT'
  10814. sort <> by <sort fields> in order <sort direction>
  10815. sort layout named "Monthly Sales Report" by {field named "Region", field named "State"}
  10816. sort by {field 6, field 4, field 1} direction custom
  10817. resulty
  10818. returnsy
  10819. revised|
  10820. routinew
  10821. salesl
  10822. scripti
  10823. scriptingw
  10824. followingp
  10825. formo
  10826. fredl
  10827. fromy
  10828. frontmostp
  10829. cellj
  10830. gloves{
  10831. here{
  10832. howeverw
  10833. importingy
  10834. importing
  10835. single
  10836. picture
  10837. reference
  10838. using
  10839. choose
  10840. filey
  10841. following
  10842. examples
  10843. assume
  10844. entry
  10845. currp
  10846. indexl
  10847. index
  10848. document
  10849. named
  10850. fredl
  10851. invoice{
  10852. invoices{
  10853. items{
  10854. itselfw
  10855. lasto
  10856. layoutj
  10857. line{
  10858. listy
  10859. macintoshy
  10860. many{
  10861. misci
  10862. monthlyl
  10863. namei
  10864. field
  10865. total
  10866. salesl
  10867. index
  10868. relative
  10869. absolute
  10870. unique
  10871. namedl
  10872. necessaryw
  10873. need|
  10874. newrecordy
  10875. What can I do with it?
  10876. Use the Sort event to reorder the currently found records in a FileMaker Pro file.
  10877. The Sort event has three components:
  10878.  The layout to be sorted, which is the layout where the sort results are displayed. If no layout is provided, the current one is used. 
  10879.  The field by which the layout is sorted. If no field is provided, FileMaker Pro will unsort the database.
  10880.  The direction of the sort 
  10881.  ascending, descending, or custom. If no direction is provided, FileMaker P
  10882. ro will sort in ascending order. Sorting a field by custom order uses the value list associated with the field on the specified layout (or the current layout if none is specified).
  10883. You can specify more than one field to do a multiple level sort.
  10884. Examples
  10885. For AppleScript users:
  10886. If you want to:                                                         You can say:
  10887. sort by one field                         sort by field "Record Number"
  10888. sort by one field in 
  10889. descending order     sort layout "Monthly Sales Report" by field 
  10890.                                            "Region" in order descending
  10891. sort by two fields, different orders      sort layout 1 by {field "ID", field "Last"}
  10892.                                             in order {descending, ascending}
  10893. unsort a database                         sort window 1
  10894. For Frontier users:
  10895. To unsort from Frontier add the following script to the FileMaker table:
  10896. on unSort(obj)
  10897.   return(appleEvent(FileMa
  10898. ker.ID,'DATA','SORT','----',obj))
  10899. If you want to:                                                             You can say:
  10900.                                                                                           with FileMaker
  10901. sort window 1 by field 1 in ascending order   sort(window[1],field[1],descending)
  10902. sort window 1 by field 1 in descending order  sort(window[1],field[1],ascending)
  10903. sort window 1 by field 1 in custom order      sort(window[1],field[1],custom)
  10904. unsort t
  10905. he frontmost database                 unSort(window[1])
  10906. All Frontier examples assume a table called FileMaker, provided with Frontier, is installed in the Frontier.root.
  10907. Sortt
  10908. Sortu
  10909. Eventv
  10910. keyaesorttype
  10911. keydirectobject
  10912. typeaelist
  10913. typeaerecord
  10914. typealias
  10915. typechar
  10916. typeenumeration
  10917. typeinsertionloc
  10918. typeobjectspecifier
  10919. typetype
  10920. varies
  10921. order
  10922. preference
  10923. desired
  10924. typeF
  10925. password
  10926. fileR
  10927. aliasT
  10928. currentlyz
  10929. cwindowf
  10930. dataB
  10931. databaseA
  10932. databasesC
  10933. defaultF
  10934. deleteG
  10935. filemaker
  10936. supports
  10937. creation
  10938. cmenu
  10939. cmenuitem
  10940. filemaker
  10941. supports
  10942. deletion
  10943. cmenu
  10944. cmenuitem
  10945. filemaker
  10946. supports
  10947. navigation
  10948. records
  10949. requests
  10950. cells
  10951. filenameP
  10952. findN
  10953. finderS
  10954. findsN
  10955. fmp3P
  10956. followingP
  10957. formatsP
  10958. foundz
  10959. fromA
  10960. getsF
  10961. indicated
  10962. object
  10963. specifiersO
  10964. bytes
  10965. indicated
  10966. object
  10967. geturlP
  10968. groupN
  10969. haveG
  10970. helperP
  10971. hiddenf
  10972. hostedP
  10973. hostnameP
  10974. indicatedF
  10975. informationB
  10976. insertionJ
  10977. insideS
  10978. inside
  10979. macintosh
  10980. volume
  10981. states
  10982. finder
  10983. should
  10984. instructf
  10985. field
  10986. field
  10987. field
  10988. direction
  10989. customz
  10990. fields
  10991. order
  10992. directionz
  10993. layout
  10994. named
  10995. monthly
  10996. sales
  10997. report
  10998. field
  10999. named
  11000. regionz
  11001. Related fields placed on layouts can be accessed via Apple events. Fields and cells within portals can be edited, and related records created and deleted, using standard Apple events such as Set Data, Create, and Delete.
  11002. Here are some points to keep in mind when accessing related data:
  11003.  Portals act very much like repeating fields. A field within a portal is represented by a list of data where each item in the list is a separate portal row.
  11004.  The portal itself is represented as a list of
  11005.  fields. For example, getting data from a record with  a portal returns all the portal fields within a list.
  11006.  When getting data from a record, related fields are returned after fields from the local file. 
  11007.  Because related fields are layout-specific, there are no related fields or portals on Layout 0. Layout 0 represents the entire local database.
  11008.  To create a new related record, set a new item into a related field. For instance, if a related field is empty, setting data into it will
  11009.  create a related record. If the field is within a portal, set the field equal to one extra list value. For example, if the portal field contains two rows, set the field equal to a list of three items. 
  11010. Note: in order to create related records, the option to create related records must be  enabled for the relationship.
  11011.  When getting data from a portal, the number of records returned is determined by whether the portal has a vertical scroll bar or not.  If a portal has no scroll bar, onl
  11012. y the visible portal rows will be returned.  When there is a scroll bar on the portal, all portal rows will be returned including those not currently visible.
  11013.  Deleting a record from the local file will also delete any related records when the option to delete related records has been enabled (i.e., a "cascading delete"). 
  11014. Note: FileMaker Pro does not support the deletion of individual portal rows via Apple events.
  11015.  The name of a related field includes the name of the relationship sep
  11016. arated by two colons such as "Contacts::First Name". Similarly, the ID of a related field includes an identifier for the relationship.  For example, {1, 2} is the unique identifier for a related field whose ID is 2 in the related file as defined by the relationship whose identifier is 1. To access a related field it must exist on a layout in the master file. 
  11017.  The name of a related cell includes the name of the relationship separated by two colons such as "Contacts::First Name".  Similar
  11018. zly, the ID of a related cell includes an identifier for the relationship. For example, the cell ID  {1, {2, 3} is the unique identifier for a related cell of the record in the local database whose ID is 1, using the field of the related database whose ID is 3 as defined by the relationship whose ID is 2. To access a related cell it must exist on a layout in the master file. 
  11019. Relational Data AccessG
  11020. Relational Data Examples
  11021. In this example, a relationship based on Invoice ID has been defined between two databases - Invoices and Line Items. The current layout in the Invoices database has the Invoice ID field (field 1) and a portal containing the Product field (field 2) from the Line Items database.
  11022. There are many different ways to access and create related data. Here are a few examples of script statements that can be used to get, set, and create related data. 
  11023. To do this                Perform 
  11024. these commands        Result
  11025. get related data from a record        record 1                {"1001", {"Shoes", "Gloves"}}
  11026. get data from a related field        field 2                    {"Shoes", "Gloves"}
  11027.                     field "Line Items::Product"        {"Shoes", "Gloves"}
  11028. get data from a related cell        cell 2                    {"Shoes", "Gloves"}
  11029.                     cell "Line Items::Product"        {"Shoes", "Gloves"}
  11030. add a row to a portal            set cell 2 of record 1 to  
  11031.         {"Shoes", "Gloves", "Hat"}
  11032.                     {"Shoes", "Gloves", "Hat"}
  11033.                     set record 1 to  
  11034.             {"1001", {"Shoes", "Glo
  11035. 0C:ves", "Hat"}}
  11036.                     {"1001", {"Shoes", "Gloves", "Hat"}}
  11037. Introv
  11038. In order to take advantage of some of the new capabilities of FileMaker Pro 3.0, scripts that were created for previous versions of FileMaker Pro will need to be modified in the following ways:
  11039. Renaming the Application
  11040. When converting a script created with AppleScript that was compiled with version 2.x of FileMaker Pro, the Script Editor may not correctly compile with FileMaker Pro 3.0 if the applications have the same name, such as 
  11041. FileMaker Pro
  11042. . For this reason it is necessary to rena
  11043. access{
  11044. appleh
  11045. apple
  11046. event
  11047. suitesm
  11048. applescriptw
  11049. commandsw
  11050. componentsi
  11051. containmentp
  11052. converting|
  11053. converting
  11054. previous
  11055. scripts|
  11056. datay
  11057. defaultp
  11058. default
  11059. containmentp
  11060. eventi
  11061. eventsh
  11062. relational{
  11063. relational
  11064. examples{
  11065. relationship{
  11066. relativeo
  11067. repeaty
  11068. reportl
  11069. request|
  11070. related{
  11071. phascloseboxk
  11072. phasclosebox
  11073. piszoomablek
  11074. phastitlebark
  11075. phastitlebar
  11076. piszoomedk
  11077. picturey
  11078. picture
  11079. reference
  11080. examplesy
  11081. picturefiley
  11082. picturefilerefy
  11083. pindexk
  11084. pindex
  11085. pvisiblek
  11086. pisfloating
  11087. pismodalk
  11088. pisresizeablek
  11089. piszoomablek
  11090. piszoomedk
  11091. pnamek
  11092. portal{
  11093. previous|
  11094. printi
  11095. print
  11096. documents
  11097. documents
  11098. printi
  11099. product{
  11100. propertiesk
  11101. properties
  11102. pname
  11103. pismodal
  11104. elements
  11105. cdocumentk
  11106. pvisiblek
  11107. quiti
  11108. application
  11109. nonei
  11110. rangel
  11111. range
  11112. layout
  11113. recordj
  11114. recordso
  11115. referenceo
  11116. reference
  11117. exampleso
  11118. me one of the applications to something different such as 
  11119. FileMaker Pro 2.1
  11120. A quick way to verify which application is being used is to look at the case of the application commands.  FileMaker Pro 3.0 uses lowercase for all objects and events whereas previous versions use uppercase.
  11121. The Show Event
  11122. Scripts created with earlier versions of FileMaker Pro that make use of the Show event will need to be revised in the following cases:
  11123.     - The Show event now supports the distinction between t
  11124. he database and document objects which refer to the entire set of records versus the records in the found set. Because the Show event uses the found set as default containment, it is necessary to rewrite previous scripts to reference the database object if you wish to find records from the entire database.
  11125.     For example, the statement 
  11126. show every record
  11127.  should be rewritten to say 
  11128. show every record of database 1
  11129.     - FileMaker Pro find symbols such as !, //, ?, *, @ are no longer supported
  11130.  with the Show event. To use FileMaker find symbols, create requests and set the special characters into cells of the request. Note that many of these types of find requests can still be accomplished using the Show event but require using AppleScript terminology instead of the FileMaker Pro symbol. Equivalent commands are listed in the documentation for the Show event.
  11131.     - The Show event no longer brings a window, database, or document to the front. To bring a window to the front use the Go
  11132.  To event.
  11133. Value Lists
  11134. Because value lists are now assigned to fields in layout mode, the Choices property is layout-specific.  In this way a field can have different value lists depending on what layout it is on.  Scripts that previously relied on Layout 0 to obtain choices of a field will now return an empty list because value lists can only be applied to a field on a given layout.
  11135. Sorting by Custom Order
  11136. FileMaker Pro 3.0 now allows you to choose a value list when sorting (before it a
  11137. ssumed the value list that was defined for the field in field definitions). To sort a field by custom order with Apple events, FileMaker Pro 3.0 uses the value list associated with the field on the specified layout.
  11138. Opening Files
  11139. Sending an open document event to a file that has a blank password will automatically open the file with that password. Previous versions of FileMaker Pro displayed the password dialog.
  11140. Converting Previous ScriptsG
  11141. Scripts with the following statements will need to be revised:
  11142. Previous Syntax                    New Syntax
  11143. show every record    show every record of database 1
  11144. show every record whose cell "Date" = "//"    set cell "Date" of (create request) to "//"
  11145. show every record whose cell "Name" = "Jo"    show every record whose cell "Name" contains "Jo"
  11146. show window 1    go to window 1
  11147. choices of every field of layout 0    choices of every field of layout "Data Entry"    
  11148. Introv
  11149. @with versi
  11150. items
  11151. itemss
  11152. itself{
  11153. justj
  11154. keep{
  11155. keyformsk
  11156. keyword}
  11157. containsj
  11158. contentsk
  11159. converting|
  11160. copiedy
  11161. copyv
  11162. coreE
  11163. correctly|
  11164. correspondq
  11165. correspondsq
  11166. countq
  11167. course}
  11168. createE
  11169. created{
  11170. createsj
  11171. creatingE
  11172. creationr
  11173. creatoru
  11174. ctableq
  11175. currentp
  11176. currently{
  11177. customo
  11178. customers}
  11179. daily}
  11180. danny}
  11181. danny
  11182. goodman}
  11183. danny
  11184. goodman's
  11185. applescript
  11186. handbook}
  11187. dartmouth}
  11188. data@
  11189. dialogs@
  11190. event
  11191. class@
  11192. filemaker
  11193. accepts
  11194. lists
  11195. parameters
  11196. events
  11197. filemaker
  11198. supports
  11199. simple
  11200. object
  11201. specifiers
  11202. fully@
  11203. have@
  11204. however@
  11205. inside
  11206. macintosh
  11207. interapplication
  11208. communication@
  11209. order@
  11210. primarily@
  11211. reference@
  11212. scripting@
  11213. suites@
  11214. suite
  11215. common
  11216. applications@
  11217. truej
  11218. understand@
  11219. access@
  11220. external@
  11221. lists
  11222. parameters@
  11223. components
  11224. apple
  11225. event@
  11226. filemaker
  11227. script@
  11228. typechar@
  11229. pprotection@
  11230. prepeating@
  11231. cellvalue@
  11232. resizeable@
  11233. class
  11234. object@
  11235. enabled@
  11236. list@
  11237. target@
  11238. item's
  11239. namea
  11240. item's
  11241. number
  11242. index@
  11243. menu's
  11244. resource
  11245. document@
  11246. user's
  11247. access
  11248. privileges
  11249. field@
  11250. window
  11251. modal@
  11252. dialogsr
  11253. differentj
  11254. digest}
  11255. directi
  11256. directlyv
  11257. discussion}
  11258. discussions}
  11259. displayed|
  11260. distinction|
  11261. documenti
  11262. document'su
  11263. documentation|
  11264. documentsh
  11265. doest
  11266. durationt
  11267. eachi
  11268. earlier|
  11269. edited{
  11270. editingt
  11271. editor|
  11272. edu/applescript}
  11273. efficiento
  11274. electronic}
  11275. elementsk
  11276. empty{
  11277. enabled{
  11278. engagedt
  11279. english}
  11280. english-likel
  11281. ensuret
  11282. ensuringv
  11283. entirem
  11284. equal{
  11285. equivalents
  11286. errorsw
  11287. establisht
  11288. eventi
  11289. For more information about Apple Events, AppleScript, Frontier, the Apple Events Registry, and the Object Model, refer to the following references:
  11290. PUBLICATIONS
  11291. Danny Goodman
  11292. s AppleScript Handbook
  11293. Danny Goodman
  11294. Random House Electronic Publishing, ISBN 0-679-75806-2.
  11295. The Tao of AppleScript
  11296. Derrick Schneider
  11297. Hayden Books, ISBN 1-56830-075-1.
  11298. AppleScript Language Guide: English Dialect
  11299. Addison-Wesley, ISBN 0-201-40735-3.  
  11300. INSIDE MACINTOSH: Interapplication Communication
  11301. Addison-Wesley
  11302. Inside Macintosh, Volume VI; Chapter 6: Apple Events Manager; 
  11303. Addison Wesley Publishing Company, Inc., Menlo Park, California
  11304. April 1991
  11305. Apple Event Registry: Standard Suites
  11306. Apple Programmers and Developers Association (APDA).
  11307. The Object Model, Macintosh Developer Note
  11308. Apple Programmers and Developers Association (APDA).
  11309. In the U.S. contact APDA at (800) 282-2732; in Canada (800) 637-0029; or international (716) 871-6555. 
  11310. PRODUCTS
  11311. AppleScript Scripter
  11312. s Kit
  11313. Available through Ap
  11314. ple retail channels.
  11315. AppleScript Software Development Toolkit
  11316. Available from APDA.
  11317. UserLand Frontier
  11318. UserLand Software, Inc.
  11319. UserLand Software can be reached at (415) 369-6600.
  11320. ONLINE FORUMS
  11321. AppleLink
  11322. Developer Support: AppleScript Talk
  11323. Third Parties:Third Parties A-G:Claris:Claris InfoCenter:Technical Support - (Read):Technical Support - FileMaker
  11324. Third Parties: Third Parties P-Z: UserLand Discussions
  11325. America Online
  11326. Keyword APPLESCRIPT
  11327. Keyword CLARIS, Technical Support:FileMaker Pro:
  11328. FileMaker Message Boards:Scripting
  11329. Keyword MOS, Message Board:General Discussion:AppleScript
  11330. Keyword USERLAND
  11331. CompuServe
  11332. Go MACDEV, Message Sections:Scripting Month [10]
  11333. Go MACCLARIS, Browse Messages, FileMaker [2]
  11334. Go USERLAND
  11335. Internet
  11336. The MACSCRPT mailing list is a highly active forum devoted to scripting on the Macintosh and focuses on AppleScript and UserLand Frontier. To subscribe to the Macintosh Scripting mailing list send a message using one of the following methods: 
  11337.  To subscr
  11338. ibe to the MACSCRPT list, 
  11339. Send  message to: LISTSERV@dartmouth.edu
  11340. Subject: subscribe
  11341. Message: subscribe macscrpt <your full name here>
  11342.  To receive the mail as daily digest:
  11343. Send message to: LISTSERV@dartmouth.edu
  11344. Subject: digest
  11345. Message: set macscrpt digest
  11346. Scripts, scripting additions, demos, and other scripting-related files can be found at the following ftp site:
  11347. ftp://gaea.kgs.ukans.edu/applescript
  11348. SCRIPTING SUPPORT
  11349. Apple Computer provides support for AppleScript and HyperCard. 
  11350. All customers have access to toll-free telephone support for pre-sales and 
  11351. up and running
  11352.  support by calling Apple Assurance at (800) SOS-APPL. Advanced scripting support is available for a fee by calling (800) 950-2442.
  11353. TRAINING
  11354. Self-paced and classroom-based instruction is available from Apple Computer's Developer University (408) 974-4897, fax (408) 974-0544, and AppleLink: DEVLINK. Currently course offerings include "Scripting with AppleScript", "Introduction to AppleScript", and "
  11355. G&Apple Events/AppleScript Programming."
  11356. ReferencesG
  11357. Introv
  11358. 1-56830-075-1}
  11359. 1991}
  11360. 282-2732}
  11361. 32896o
  11362. 369-6600}
  11363. 50000l
  11364. 637-0029}
  11365. 7-savvyh
  11366. 871-6555}
  11367. 950-2442}
  11368. 974-0544}
  11369. 974-4897}
  11370. filemaker
  11371. database
  11372. technically
  11373. table
  11374. howeq
  11375. elementsk
  11376. propertiesk
  11377. aboutp
  11378. absolutek
  11379. acceptsE
  11380. accessE
  11381. accessed{
  11382. accessingl
  11383. accomplished|
  11384. accountE
  11385. achievet
  11386. acrossj
  11387. actionsh
  11388. activatey
  11389. active}
  11390. actuall
  11391. addison}
  11392. addison
  11393. wesley
  11394. publishing
  11395. company
  11396. menlo
  11397. california}
  11398. addison-wesley
  11399. althougho
  11400. alwayso
  11401. apple
  11402. event
  11403. consists
  11404. several
  11405. componentsi
  11406. analysisv
  11407. addison-wesley
  11408. 0-201-40735-3}
  11409. additionk
  11410. additionallyo
  11411. additions}
  11412. addressx
  11413. advanced}
  11414. advantage|
  11415. aevti
  11416. aftero
  11417. againt
  11418. agreeh
  11419. aliasu
  11420. allowt
  11421. allows|
  11422. alongy
  11423. alreadyy
  11424. alsoh
  11425. alteringE
  11426. althougho
  11427. alwayso
  11428. america}
  11429. apple
  11430. event
  11431. consists
  11432. several
  11433. componentsi
  11434. analysisv
  11435. inside
  11436. macintosh
  11437. interapplication
  11438. communication}
  11439. inside
  11440. macintosh
  11441. volume
  11442. chapter
  11443. apple
  11444. events
  11445. manager}
  11446. instance{
  11447. instead|
  11448. instruction}
  11449. intentl
  11450. interapplication}
  11451. interestk
  11452. international}
  11453. internet}
  11454. intoE
  11455. introduction}
  11456. invalidt
  11457. involvedt
  11458. involvess
  11459. isbn}
  11460. issuesr
  11461. issuingt
  11462. item@
  11463. kmen@
  11464. many@
  11465. meant@
  11466. notified@
  11467. order@
  11468. primarily@
  11469. reference@
  11470. scripting@
  11471. subscribe@
  11472. suites@
  11473. suite
  11474. common
  11475. applications@
  11476. training@
  11477. truej
  11478. understand@
  11479. unless@
  11480. access@
  11481. external@
  11482. lists
  11483. parameters@
  11484. components
  11485. apple
  11486. event@
  11487. filemaker
  11488. script@
  11489. typechar@
  11490. pprotection@
  11491. prepeating@
  11492. cellvalue@
  11493. resizeable@
  11494. class
  11495. object@
  11496. enabled@
  11497. list@
  11498. target@
  11499. item's
  11500. namea
  11501. item's
  11502. number
  11503. index@
  11504. menu's
  11505. resource
  11506. document@
  11507. user's
  11508. access
  11509. privileges
  11510. field@
  11511. window
  11512. modal@
  11513. subscribe}
  11514. subsetm
  11515. substitutesp
  11516. suchi
  11517. suitem
  11518. training}
  11519. traitsk
  11520. transactiont
  11521. transactionst
  11522. transfery
  11523. transferringy
  11524. transporth
  11525. treatsy
  11526. triggerv
  11527. unlessp
  11528. uppercase|
  11529. usedl
  11530. usefull
  11531. userE
  11532. user'sE
  11533. userland}
  11534. useso
  11535. usingj
  11536. usuallyi
  11537. validityv
  11538. valuek
  11539. valuesk
  11540. variesi
  11541. verbsj
  11542. verify|
  11543. version|
  11544. versions|
  11545. versus|
  11546. vertical{
  11547. very{
  11548. viewq
  11549. visible{
  11550. volume}
  11551. wantt
  11552. waysk
  11553. wellx
  11554. were|
  11555. wesley}
  11556. whath
  11557. whenh
  11558. sending
  11559. events
  11560. filemaker
  11561. performs
  11562. analysis
  11563. where{
  11564. whereas|
  11565. whether{
  11566. whichi
  11567. whilet
  11568. whosel
  11569. willE
  11570. windowi
  11571. windowsj
  11572. wish|
  11573. withh
  11574. withink
  11575. withouti
  11576. wordl
  11577. wouldy
  11578. yieldl
  11579. your}
  11580. aboutk
  11581. GH The Notes field provides some additional information about the object. 
  11582. Menu Item
  11583. cMenuItem
  11584.